ticket.ts 508 B

1234567891011121314151617
  1. // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. import TicketItem from '#mobile/components/Ticket/TicketItem.vue'
  3. import type { SearchPlugin } from './index.ts'
  4. export default <SearchPlugin>{
  5. model: 'Ticket',
  6. headerLabel: __('Tickets'),
  7. searchLabel: __('Tickets with "%s"'),
  8. component: TicketItem,
  9. link: '/tickets/#{internalId}',
  10. permissions: ['ticket.agent', 'ticket.customer'],
  11. icon: { name: 'all-tickets', size: 'base' },
  12. iconBg: 'bg-blue',
  13. order: 100,
  14. }