phone.ts 568 B

1234567891011121314151617181920212223242526
  1. // Copyright (C) 2012-2023 Zammad Foundation, https://zammad-foundation.org/
  2. import type { TicketArticleActionPlugin, TicketArticleType } from './types'
  3. const actionPlugin: TicketArticleActionPlugin = {
  4. order: 100,
  5. addTypes() {
  6. const type: TicketArticleType = {
  7. apps: ['mobile'],
  8. value: 'phone',
  9. label: __('Phone'),
  10. icon: {
  11. mobile: 'mobile-phone',
  12. },
  13. view: {
  14. agent: ['change'],
  15. },
  16. attributes: ['attachments'],
  17. internal: false,
  18. }
  19. return [type]
  20. },
  21. }
  22. export default actionPlugin