|
|
@@ -15,10 +15,13 @@ const router = useRouter()
|
|
|
|
|
|
const items: ComputedRef<Array<AnyJson>> = computed(() => {
|
|
|
const crumbs: Array<AnyJson> = []
|
|
|
+ const baseUrl =
|
|
|
+ runtimeConfig.baseUrlAdminLegacy ??
|
|
|
+ runtimeConfig.public.baseUrlAdminLegacy
|
|
|
|
|
|
crumbs.push({
|
|
|
title: i18n.t('welcome'),
|
|
|
- href: UrlUtils.join(runtimeConfig.baseUrlAdminLegacy, '#', 'dashboard'),
|
|
|
+ href: UrlUtils.join(baseUrl, '#', 'dashboard'),
|
|
|
})
|
|
|
|
|
|
const pathPart: Array<string> = UrlUtils.split(router.currentRoute.value.path)
|