From c0a48d7357578ee6838cd41af6bb6505def7e3dc Mon Sep 17 00:00:00 2001 From: Daniele Ricci Date: Fri, 1 Sep 2023 01:26:40 +0200 Subject: [PATCH] Create real anchors around admin sidebar buttons (#3925) --- web/src/routes/admin/+layout.svelte | 41 +++++++++++------------------ 1 file changed, 16 insertions(+), 25 deletions(-) diff --git a/web/src/routes/admin/+layout.svelte b/web/src/routes/admin/+layout.svelte index b9586c9088..6aa21b841d 100644 --- a/web/src/routes/admin/+layout.svelte +++ b/web/src/routes/admin/+layout.svelte @@ -12,7 +12,6 @@ import Cog from 'svelte-material-icons/Cog.svelte'; import Server from 'svelte-material-icons/Server.svelte'; import StatusBox from '$lib/components/shared-components/status-box.svelte'; - import { goto } from '$app/navigation'; import { AppRoute } from '../../lib/constants'; import type { LayoutData } from './$types'; import SideBarSection from '$lib/components/shared-components/side-bar/side-bar-section.svelte'; @@ -40,30 +39,22 @@ - goto(AppRoute.ADMIN_USER_MANAGEMENT)} - /> - goto(AppRoute.ADMIN_JOBS)} - /> - goto(AppRoute.ADMIN_SETTINGS)} - /> - goto(AppRoute.ADMIN_STATS)} - /> + + + + + + + + + + + +