This commit is contained in:
parent
6d5899a6c7
commit
10352babcd
1 changed files with 2 additions and 4 deletions
|
|
@ -13,12 +13,10 @@ export const useVirtualSampleStore = defineStore('virtual-sample', () => {
|
|||
const isDownloadTriggered = ref(false);
|
||||
|
||||
const step = computed(
|
||||
() => page.value?.steps?.find((s) => s.id === 'virtualSample') ?? []
|
||||
() => page.value?.steps?.find((step) => step.id === 'virtualSample') ?? []
|
||||
);
|
||||
|
||||
const activeTab = computed(() =>
|
||||
step.value.files?.dynamic ? 'dynamic' : 'static'
|
||||
);
|
||||
const activeTab = ref(step.value.files?.dynamic ? 'dynamic' : 'static');
|
||||
|
||||
const allVariations = computed(() =>
|
||||
Object.values(step.value.files?.dynamic ?? {}).flat(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue