Added periodic memory logger.

This commit is contained in:
DebaucheryLibrarian
2021-11-20 23:59:15 +01:00
parent a867817dc1
commit ccb99e278c
109 changed files with 10238 additions and 10833 deletions

View File

@@ -70,7 +70,7 @@ function initUiActions(store, _router) {
slug
}
}
entity: alertsEntityByAlertId {
entity: alertsEntity {
entity {
id
name
@@ -103,7 +103,7 @@ function initUiActions(store, _router) {
};
}
const curatedNotifications = notifications.nodes.map(notification => curateNotification(notification));
const curatedNotifications = notifications.nodes.map((notification) => curateNotification(notification));
return {
notifications: curatedNotifications,
@@ -222,8 +222,8 @@ function initUiActions(store, _router) {
});
return {
releases: res?.results.map(result => curateRelease(result.release)) || [],
actors: res?.actors.map(actor => curateActor(actor)) || [],
releases: res?.results.map((result) => curateRelease(result.release)) || [],
actors: res?.actors.map((actor) => curateActor(actor)) || [],
};
}

View File

@@ -3,7 +3,7 @@ async function initUiObservers(store, _router) {
body.classList.add(store.state.ui.theme);
store.watch(state => state.ui.theme, (newTheme, oldTheme) => {
store.watch((state) => state.ui.theme, (newTheme, oldTheme) => {
body.classList.add(newTheme);
body.classList.remove(oldTheme);
});