refactor(editor): Migrate ui.store to use composition API (no-changelog) (#9892)
This commit is contained in:
@@ -175,7 +175,7 @@ export function useToast() {
|
||||
function showNotificationForViews(views: VIEWS[]) {
|
||||
const notifications: NotificationOptions[] = [];
|
||||
views.forEach((view) => {
|
||||
notifications.push(...uiStore.getNotificationsForView(view));
|
||||
notifications.push(...(uiStore.pendingNotificationsForViews[view] ?? []));
|
||||
});
|
||||
if (notifications.length) {
|
||||
notifications.forEach(async (notification) => {
|
||||
|
||||
Reference in New Issue
Block a user