From fa50c33768c26ca87317f2f056af8db602c4bd73 Mon Sep 17 00:00:00 2001 From: Will Sheldon <114631109+wssheldon@users.noreply.github.com> Date: Tue, 5 Dec 2023 13:50:13 -0800 Subject: [PATCH] Make only title and description required on case form (#4083) --- .../src/case/ReportSubmissionCard.vue | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/src/dispatch/static/dispatch/src/case/ReportSubmissionCard.vue b/src/dispatch/static/dispatch/src/case/ReportSubmissionCard.vue index 8f60ec7ad108..4f84b7430bc5 100644 --- a/src/dispatch/static/dispatch/src/case/ReportSubmissionCard.vue +++ b/src/dispatch/static/dispatch/src/case/ReportSubmissionCard.vue @@ -160,18 +160,6 @@ export default { this.descriptionValid = !!this.description this.checkFormValidity() }, - project() { - this.projectValid = !!this.project - this.checkFormValidity() - }, - case_type() { - this.caseTypeValid = !!this.case_type - this.checkFormValidity() - }, - case_priority() { - this.casePriorityValid = !!this.case_priority - this.checkFormValidity() - }, }, methods: { @@ -225,12 +213,7 @@ export default { ) }, checkFormValidity() { - this.formIsValid = - this.titleValid && - this.descriptionValid && - this.projectValid && - this.caseTypeValid && - this.casePriorityValid + this.formIsValid = this.titleValid && this.descriptionValid }, ...mapActions("case_management", ["report", "get", "resetSelected"]), },