organization.ts 540 B

1234567891011121314151617
  1. // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. import OrganizationItem from '#mobile/components/Organization/OrganizationItem.vue'
  3. import type { SearchPlugin } from './index.ts'
  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: 'organization', size: 'base' },
  13. iconBg: 'bg-orange',
  14. }