Merge branch 'dev' into 8118-createComponentVnDropdown
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
BENJAMIN ESTEVE DIAZ CANO 2025-03-25 11:00:52 +00:00
commit 95b31dac4f
1 changed files with 1 additions and 3 deletions

View File

@ -16,9 +16,7 @@ export const useDescriptorStore = defineStore('descriptorStore', () => {
for (const file in files) {
const name = file.split('/').at(-1).slice(0, -19).toLowerCase();
const descriptor = moduleParser[name] ?? name;
currentDescriptors[descriptor + 'Fk'] = defineAsyncComponent(
() => import(/* @vite-ignore */ file),
);
currentDescriptors[descriptor + 'Fk'] = defineAsyncComponent(files[file]);
}
setDescriptors(currentDescriptors);
return currentDescriptors;