mirror of
https://github.com/zammad/zammad
synced 2026-05-24 09:48:36 +00:00
15 lines
544 B
Vue
15 lines
544 B
Vue
<!-- Copyright (C) 2012-2026 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>
|