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

This commit is contained in:
Benjamin Esteve 2025-03-25 11:00:51 +00:00
commit 97ed21f250
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;