Improved alert notifications.

This commit is contained in:
DebaucheryLibrarian
2021-04-22 19:44:23 +02:00
parent 95f3b1c03a
commit c5e74c33b7
9 changed files with 266 additions and 24 deletions

View File

@@ -1,4 +1,4 @@
function initUiObservers(store, _router) {
async function initUiObservers(store, _router) {
const body = document.querySelector('body');
body.classList.add(store.state.ui.theme);
@@ -29,6 +29,8 @@ function initUiObservers(store, _router) {
store.dispatch('setTheme', 'light');
}
});
await store.dispatch('fetchNotifications');
}
export default initUiObservers;