fixed snackbar queued

This commit is contained in:
vabene1111
2024-09-03 10:08:16 +02:00
parent 5f184693ca
commit 27fe267181

View File

@@ -60,7 +60,7 @@ const showSnackbar = ref(false)
* subscribe to mutation of the snackbarQueue to detect new messages being added
*/
useMessageStore().$subscribe((mutation, state) => {
if ('snackbarQueue' in state && mutation.events.type == 'add') {
if ('snackbarQueue' in state) {
processQueue()
}
})