mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-31 12:17:54 +01:00
chore(Toaster): fix ts error
This commit is contained in:
@@ -109,7 +109,8 @@ function getOffset(index: number) {
|
|||||||
v-for="(toast, index) of toasts"
|
v-for="(toast, index) of toasts"
|
||||||
:key="toast.id"
|
:key="toast.id"
|
||||||
ref="refs"
|
ref="refs"
|
||||||
v-bind="omit(toast, ['id'])"
|
v-bind="omit(toast, ['id', 'close'])"
|
||||||
|
:close="(toast.close as boolean)"
|
||||||
:data-expanded="expanded"
|
:data-expanded="expanded"
|
||||||
:data-front="!expanded && index === toasts.length - 1"
|
:data-front="!expanded && index === toasts.length - 1"
|
||||||
:style="{
|
:style="{
|
||||||
|
|||||||
Reference in New Issue
Block a user