mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
service templates - move to blade - button fixes
This commit is contained in:
@@ -193,7 +193,7 @@ class Permissions
|
||||
*/
|
||||
public function serviceTemplatesForUser($user = null)
|
||||
{
|
||||
return $this->getServiceTemplatePermissions($user)
|
||||
return $this->getServiceTemplatePermissions()
|
||||
->where('user_id', $this->getUserId($user))
|
||||
->pluck('id');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user