123456789101112131415161718192021222324252627282930 |
- // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
- import type { TicketArticleActionPlugin, TicketArticleType } from './types.ts'
- const actionPlugin: TicketArticleActionPlugin = {
- order: 100,
- addTypes() {
- const type: TicketArticleType = {
- apps: ['mobile', 'desktop'],
- value: 'phone',
- label: __('Phone'),
- buttonLabel: __('Add phone call'),
- icon: 'phone',
- fields: {
- attachments: {},
- body: {
- required: true,
- },
- },
- view: {
- agent: ['change'],
- },
- internal: false,
- }
- return [type]
- },
- }
- export default actionPlugin
|