Refactored Tabs title assignment to utilize computed property

This is necessary to render language phrases correctly
This commit is contained in:
Cris
2024-05-13 14:02:05 +02:00
parent 6d728ae0e7
commit 8a0d2a2f10
+1 -1
View File
@@ -75,7 +75,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
}