From 90f6486fc1495cdd347a79d1971c1e94513ce9fd Mon Sep 17 00:00:00 2001 From: Jon Date: Tue, 25 Mar 2025 14:20:38 +0100 Subject: [PATCH] refactor: refs #7358 use QBadge instead of QChip --- src/components/NavBar.vue | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue index 6365fcd07..c71a0a887 100644 --- a/src/components/NavBar.vue +++ b/src/components/NavBar.vue @@ -25,9 +25,9 @@ const getEnvironment = computed(() => { case 'development': return 'DEV'; case 'production': - return; + return null; default: - return env.toUpperCase(); + return env; } }); onMounted(() => stateStore.setMounted()); @@ -60,10 +60,10 @@ const refresh = () => window.location.reload(); {{ t('globals.backToDashboard') }} + + {{ getEnvironment }} + - - {{ getEnvironment }} - window.location.reload(); .q-header { background-color: var(--vn-section-color); } -.envChip { - background-color: $primary; -}