mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-03 05:11:31 -05:00
fixed snackbar queued
This commit is contained in:
@@ -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()
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user