|
|
@@ -54,6 +54,7 @@ import {useEntityFetch} from "~/composables/data/useEntityFetch";
|
|
|
import {ComputedRef, Ref, ref} from "@vue/reactivity";
|
|
|
import {AnyJson} from "~/types/data";
|
|
|
import ApiResource from "~/models/ApiResource";
|
|
|
+import UrlUtils from "~/services/utils/urlUtils";
|
|
|
|
|
|
const btn: Ref = ref(null)
|
|
|
|
|
|
@@ -88,7 +89,7 @@ const runtimeConfig = useRuntimeConfig()
|
|
|
const homeUrl: string = runtimeConfig.baseUrlAdminLegacy
|
|
|
|
|
|
const getListURL = (list: PersonalizedList) => {
|
|
|
- return `${homeUrl}/${list.entity}/list/${list.id}`
|
|
|
+ return UrlUtils.join(homeUrl, '#', list.entity ?? '', 'list', list.id ?? '')
|
|
|
}
|
|
|
</script>
|
|
|
|