Show organization tab only for agents.
This commit is contained in:
parent
b10ee11c86
commit
04c97d1201
1 changed files with 1 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
class SidebarOrganization extends App.Controller
|
class SidebarOrganization extends App.Controller
|
||||||
sidebarItem: =>
|
sidebarItem: =>
|
||||||
|
return if !@permissionCheck('ticket.agent')
|
||||||
return if !@ticket.organization_id
|
return if !@ticket.organization_id
|
||||||
{
|
{
|
||||||
head: 'Organization'
|
head: 'Organization'
|
||||||
|
|
Loading…
Reference in a new issue