We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7eca4b commit 6009f1dCopy full SHA for 6009f1d
src/components/BToast/BToaster.vue
@@ -1,7 +1,7 @@
1
<template>
2
<div :class="[positionClass]" class="b-toaster position-fixed p-3" style="z-index: 11">
3
<b-toast
4
- v-for="toast in instance.toasts(position).value"
+ v-for="toast in instance?.toasts(position).value"
5
:id="toast.options.id"
6
:key="toast.options.id"
7
v-model="toast.options.value"
@@ -23,7 +23,7 @@ import type {ToastInstance} from '@/components/BToast/plugin'
23
24
interface BToasterProps {
25
position?: ContainerPosition
26
- instance: ToastInstance
+ instance?: ToastInstance
27
// appendToast?: boolean
28
}
29
0 commit comments