user.ts 468 B

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