Fixed: issue with component tabs not recognizing loaded phrases

Vue.computed ensures loading phrase reactively when phrases are loaded
This commit is contained in:
Cris
2024-03-28 13:19:31 +01:00
parent d34f5b92f4
commit 05516f2952
+2 -2
View File
@@ -71,7 +71,7 @@ export default {
tabs[key] = {
component: Vue.markRaw(Vue.defineAsyncComponent(() => import(item.component))),
title: item.title || key,
title: Vue.computed(() => item.title || key),
config: item.config,
key
}
@@ -83,7 +83,7 @@ export default {
tabs[key] = {
component: Vue.markRaw(Vue.defineAsyncComponent(() => import(item.component))),
title: item.title || key,
title: Vue.computed(() => item.title || key),
config: item.config,
key
}