blocklist is only for owner

This commit is contained in:
Girish Ramakrishnan
2020-09-09 20:28:26 -07:00
parent c02cf0f5dc
commit 0c9ea1e0f0

View File

@@ -183,7 +183,7 @@ angular.module('Application').controller('NetworkController', ['$scope', '$locat
$scope.sysinfo.refresh();
$scope.dyndnsConfigure.refresh();
$scope.blocklist.refresh();
if ($scope.user.role === 'owner') $scope.blocklist.refresh();
});
$('.modal-backdrop').remove();