hide container when no toasts are present

This commit is contained in:
2023-05-02 20:28:43 +10:00
parent 6ad4b3a6c4
commit efc5571fb3

View File

@@ -1,5 +1,5 @@
<template> <template>
<div class="toast-container"> <div class="toast-container" v-if="toastStore.toasts">
<SMToast <SMToast
v-for="toast of toastStore.toasts" v-for="toast of toastStore.toasts"
:id="toast.id" :id="toast.id"