From eb4427ff4b500cdc5df2b71175112010e9e19fec Mon Sep 17 00:00:00 2001 From: Temmie Date: Fri, 8 Aug 2025 02:16:21 +0200 Subject: [PATCH] refactor: move logic for default icon navbar itself --- components/UserInterface/Navbar.vue | 5 +++++ pages/me/index.vue | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/components/UserInterface/Navbar.vue b/components/UserInterface/Navbar.vue index 5a7460c..dea9dde 100644 --- a/components/UserInterface/Navbar.vue +++ b/components/UserInterface/Navbar.vue @@ -13,6 +13,8 @@ +
{{ props.contextName }} @@ -32,6 +34,9 @@ import type { NavbarInterface, NavbarItem } from '~/types/interfaces'; const props = defineProps(); +const runtimeConfig = useRuntimeConfig(); +const defaultIcon = `${runtimeConfig.app.baseURL}/icon.svg` +