123456789101112131415161718 |
- <!-- Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/ -->
- <script setup lang="ts">
- import { useTicketCreateView } from '#shared/entities/ticket/composables/useTicketCreateView.ts'
- const { ticketCreateEnabled } = useTicketCreateView()
- </script>
- <template>
- <div
- v-if="ticketCreateEnabled"
- class="flex cursor-pointer items-center justify-end"
- >
- <CommonLink link="/tickets/create" :aria-label="$t('Create new ticket')">
- <CommonIcon name="add" size="small" decorative />
- </CommonLink>
- </div>
- </template>
|