Line data Source code
1 : <template>
2 : <div
3 2316 : v-if="currentNotification"
4 : class="flex justify-end"
5 : role="status"
6 : aria-live="polite"
7 : aria-atomic="true"
8 : data-testid="queue-notification-banner"
9 : >
10 : <QueueNotificationBanner :notification="currentNotification" />
11 : </div>
12 : </template>
13 :
14 : <script setup lang="ts">
15 : import QueueNotificationBanner from '@/components/queue/QueueNotificationBanner.vue'
16 : import { useQueueNotificationBanners } from '@/composables/queue/useQueueNotificationBanners'
17 :
18 2009 : const { currentNotification } = useQueueNotificationBanners()
19 : </script>
|