fix undefined dynamic files
This commit is contained in:
parent
9056befcfd
commit
d3bab40167
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ export const useVirtualSampleStore = defineStore('virtual-sample', () => {
|
|||
);
|
||||
|
||||
const allVariations = computed(() =>
|
||||
Object.values(step.value.files?.dynamic).flat(1)
|
||||
Object.values(step.value.files?.dynamic ?? {}).flat(1)
|
||||
);
|
||||
|
||||
watch(activeTab, () => (currentFile.value = null));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue