Skip to content

Commit e541c5a

Browse files
committed
Fixed ignored type filters
1 parent 5fd2c72 commit e541c5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/components/v2/workflow/RunWorkflowModal.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,10 +242,11 @@
242242
if (mode === 'restart') {
243243
appliedTypeFilters = { ...wft.type_filters };
244244
} else {
245+
appliedTypeFilters = await getTypeFilterValues(wft);
245246
if (datasetImagesTable) {
246247
appliedAttributeFilters = datasetImagesTable.getAttributeFilters();
248+
appliedTypeFilters = { ...appliedTypeFilters, ...datasetImagesTable.getTypeFilters() };
247249
}
248-
appliedTypeFilters = await getTypeFilterValues(wft);
249250
}
250251
checkingConfiguration = true;
251252
}

0 commit comments

Comments
 (0)