ソースを参照

fix home button

Olivier Massot 2 年 前
コミット
d12010ff52
1 ファイル変更2 行追加1 行削除
  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()