ffplayout/components/Alert.vue

16 lines
497 B
Vue
Raw Normal View History

2024-04-04 17:28:25 -04:00
<template>
<div
v-if="indexStore.showAlert"
class="alert show alert-dismissible fade media-alert position-fixed"
:class="indexStore.alertVariant"
role="alert"
>
{{ indexStore.alertMsg }}
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close" @click="indexStore.showAlert=false"></button>
</div>
</template>
<script setup lang="ts">
const indexStore = useIndex()
</script>