Skip to content

Commit

Permalink
Replace null check with check of dataExists (#911)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-white authored Dec 11, 2023
1 parent 58bc25f commit baa59d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/form/submissions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export default {
if (this.form.dataExists && this.form.keyId != null &&
this.form.submissions === 0)
return true;
if (this.keys != null && this.keys.length !== 0) return true;
if (this.keys.dataExists && this.keys.length !== 0) return true;
return false;
},
analyzeDisabledMessage() {
Expand Down

0 comments on commit baa59d4

Please sign in to comment.