Files
tout-doux/resources/ts/components/AlertsContainer.vue
T
klemek a9b2e31d81
TS Lint / ESLint (push) Has been cancelled
TS Lint / Oxlint (push) Has been cancelled
TS Lint / TypeScript (push) Has been cancelled
refactor: format
2026-07-14 11:47:05 +02:00

20 lines
464 B
Vue

<script setup lang="ts">
import { useAlertStore } from "@/stores/alerts";
import { defineAsyncComponent } from "vue";
const AlertItem = defineAsyncComponent(
() => import("@/components/AlertItem.vue"),
);
const { alerts } = useAlertStore();
</script>
<template>
<div class="toast select-none">
<alert-item
v-for="alert in alerts"
:key="alert.created.getTime()"
:alert="alert"
/>
</div>
</template>