diff --git a/src/components/common/VnLog.vue b/src/components/common/VnLog.vue index 804147539..7402ceb3e 100644 --- a/src/components/common/VnLog.vue +++ b/src/components/common/VnLog.vue @@ -561,9 +561,7 @@ watch( }}: @@ -616,7 +614,7 @@ watch( {{ prop.nameI18n }}: {} }, + name: { type: String, default: undefined }, }); const descriptor = computed(() => descriptorStore.has($props.name)); diff --git a/src/stores/useDescriptorStore.js b/src/stores/useDescriptorStore.js index a5b83a42e..be342b016 100644 --- a/src/stores/useDescriptorStore.js +++ b/src/stores/useDescriptorStore.js @@ -11,7 +11,7 @@ export const useDescriptorStore = defineStore('descriptorStore', () => { const files = import.meta.glob(`/src/**/*DescriptorProxy.vue`); const moduleParser = { account: 'user', - client: 'customer', + customer: 'client', }; for (const file in files) { const name = file.split('/').at(-1).slice(0, -19).toLowerCase();