diff --git a/frontend/src/lib/components/navigation/AdminNav.svelte b/frontend/src/lib/components/navigation/AdminNav.svelte
index 40145e1..e4bedc4 100644
--- a/frontend/src/lib/components/navigation/AdminNav.svelte
+++ b/frontend/src/lib/components/navigation/AdminNav.svelte
@@ -4,18 +4,7 @@
import { apiUri } from '$lib/utils/common';
const drawerStore = getDrawerStore();
- function drawerOpen() {
- drawerStore.open({});
- }
-
- /**
- * @typedef formResult
- * @type {object}
- * @property {string} status
- * @property {string} message
- * @property {null | object} data
- */
- /** @type {formResult} */
+ /** @type {ApiResponse} */
let formResult;
/** @param {{ currentTarget: EventTarget & HTMLFormElement}} event */
@@ -34,7 +23,6 @@
formResult = await response.json();
if (formResult.status === 'ok') {
- // rerun all `load` functions, following the successful update
await invalidateAll();
goto('/login/');
}
@@ -48,7 +36,7 @@
-
-
+
XMR Nodes
diff --git a/frontend/src/lib/components/navigation/navs.js b/frontend/src/lib/components/navigation/navs.js
index 1d21099..ee5c840 100644
--- a/frontend/src/lib/components/navigation/navs.js
+++ b/frontend/src/lib/components/navigation/navs.js
@@ -1,5 +1,4 @@
export const adminNavs = [
- { name: 'Dashboard', path: '/app/dashboard/' },
{ name: 'Prober', path: '/app/prober/' },
{ name: 'Crons', path: '/app/crons/' }
];
diff --git a/frontend/src/routes/(loggedin)/app/dashboard/+page.svelte b/frontend/src/routes/(loggedin)/app/dashboard/+page.svelte
deleted file mode 100644
index d711cf4..0000000
--- a/frontend/src/routes/(loggedin)/app/dashboard/+page.svelte
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/frontend/src/routes/login/+page.svelte b/frontend/src/routes/login/+page.svelte
index 6634a28..e37c4f8 100644
--- a/frontend/src/routes/login/+page.svelte
+++ b/frontend/src/routes/login/+page.svelte
@@ -35,7 +35,7 @@
if (formResult.status === 'ok') {
// rerun all `load` functions, following the successful update
await invalidateAll();
- goto('/app/dashboard/');
+ goto('/app/prober/');
}
}