Explorar el Código

fix home button

Olivier Massot hace 2 años
padre
commit
d12010ff52
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      components/Layout/Header/HomeBtn.vue

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

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