Skip to content

Commit 656804c

Browse files
committed
Fix logic for determining when missing tabs dialog is shown
1 parent c4ddff3 commit 656804c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/views/SubmissionPortal/HarmonizerView.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ export default defineComponent({
139139
const missingTabsText = computed(() => {
140140
const text: Array<string> = [];
141141
if (validForms.templatesValid === false) {
142-
text.push('No tabs will be present until one or more templates are selected in the Sample Envrionment form.');
142+
text.push('No tabs will be present until one or more templates are selected in the Sample Environment form.');
143143
}
144-
if (validForms.multiOmicsFormValid.length === 0) {
144+
if (validForms.multiOmicsFormValid.length > 0) {
145145
text.push('Facility tabs will not be present until the Multiomics Form is complete.');
146146
}
147147
return text;

0 commit comments

Comments
 (0)