hide container when no toasts are present
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user