organization.ts 543 B

12345678910111213141516
  1. // Copyright (C) 2012-2023 Zammad Foundation, https://zammad-foundation.org/
  2. import OrganizationItem from '@mobile/components/Organization/OrganizationItem.vue'
  3. import type { SearchPlugin } from './index'
  4. export default <SearchPlugin>{
  5. model: 'Organization',
  6. headerLabel: __('Organizations'),
  7. searchLabel: __('Organizations with "%s"'),
  8. component: OrganizationItem,
  9. link: '/organizations/#{internalId}',
  10. permissions: ['ticket.agent'],
  11. order: 300,
  12. icon: { name: 'mobile-organization', size: 'base' },
  13. iconBg: 'bg-orange',
  14. }