Browse Source

fix home button

Olivier Massot 2 years ago
parent
commit
d12010ff52
1 changed files with 2 additions and 1 deletions
  1. 2 1
      components/Layout/Header/HomeBtn.vue

+ 2 - 1
components/Layout/Header/HomeBtn.vue

@@ -14,9 +14,10 @@
 <script setup lang="ts">
 <script setup lang="ts">
   import {ref} from "@vue/reactivity";
   import {ref} from "@vue/reactivity";
   import {useDisplay} from "vuetify";
   import {useDisplay} from "vuetify";
+  import UrlUtils from "~/services/utils/urlUtils";
 
 
   const runtimeConfig = useRuntimeConfig()
   const runtimeConfig = useRuntimeConfig()
-  const homeUrl = runtimeConfig.baseUrlAdminLegacy
+  const homeUrl = UrlUtils.join(runtimeConfig.baseUrlAdminLegacy, '#', 'dashboard')
 
 
   const { mdAndUp } = useDisplay()
   const { mdAndUp } = useDisplay()