소스 검색

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()