Skip to content

Commit

Permalink
Set data prop instantReportVisibility using assignment.instant_report…
Browse files Browse the repository at this point in the history
…_visibility field
  • Loading branch information
LianaHarris360 committed Feb 12, 2025
1 parent 272a948 commit 80645ac
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@
formIsSubmitted: false,
showServerError: false,
showTitleError: false,
instantReportVisibility: true,
instantReportVisibility: this.assignment.instant_report_visibility !== false,
};
},
computed: {
Expand Down Expand Up @@ -365,9 +365,6 @@
}
},
},
mounted() {
this.instantReportVisibility = this.assignment.instant_report_visibility;
},
methods: {
submitData() {
this.showServerError = false;
Expand Down

0 comments on commit 80645ac

Please sign in to comment.