forked from DebaucheryLibrarian/traxxx
Improved alert notifications.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user