Show organization tab only for agents.

This commit is contained in:
Martin Edenhofer 2017-07-19 10:37:29 +02:00
parent b10ee11c86
commit 04c97d1201

View file

@ -1,5 +1,6 @@
class SidebarOrganization extends App.Controller
sidebarItem: =>
return if !@permissionCheck('ticket.agent')
return if !@ticket.organization_id
{
head: 'Organization'