Skip to content

Commit

Permalink
Fix file format default value
Browse files Browse the repository at this point in the history
  • Loading branch information
arildm committed Sep 5, 2023
1 parent fdc06ff commit 75d00fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/corpus/config/CorpusConfiguration.vue
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ const formatOptions = computed(() =>
);
const selectedFormat = computed(() => {
return extensions.value.includes(config.value.format)
return !extensions.value.length ||
extensions.value.includes(config.value.format)
? config.value.format
: undefined;
});
Expand Down

0 comments on commit 75d00fa

Please sign in to comment.