From 2ced084c46e42e2a019dca4847d50eb9323fc764 Mon Sep 17 00:00:00 2001 From: Will Sheldon Date: Fri, 23 May 2025 12:38:41 -0700 Subject: [PATCH 1/2] fix: default restricted visibility on report form --- .../static/dispatch/src/events/ReportSubmissionCard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dispatch/static/dispatch/src/events/ReportSubmissionCard.vue b/src/dispatch/static/dispatch/src/events/ReportSubmissionCard.vue index 791bb416c79c..480690d1170f 100644 --- a/src/dispatch/static/dispatch/src/events/ReportSubmissionCard.vue +++ b/src/dispatch/static/dispatch/src/events/ReportSubmissionCard.vue @@ -216,7 +216,7 @@ export default { }) // Set other defaults - this.visibility = "Open" + this.visibility = "Restricted" }, fetchData() { From 4b5c7356f69178bd6c3821e83f72d12e07bc114b Mon Sep 17 00:00:00 2001 From: Will Sheldon Date: Fri, 23 May 2025 12:41:46 -0700 Subject: [PATCH 2/2] chore: remove visibility, use default --- .../static/dispatch/src/events/ReportSubmissionCard.vue | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/dispatch/static/dispatch/src/events/ReportSubmissionCard.vue b/src/dispatch/static/dispatch/src/events/ReportSubmissionCard.vue index 480690d1170f..c2482103d962 100644 --- a/src/dispatch/static/dispatch/src/events/ReportSubmissionCard.vue +++ b/src/dispatch/static/dispatch/src/events/ReportSubmissionCard.vue @@ -99,7 +99,6 @@ export default { "selected.title", "selected.tags", "selected.description", - "selected.visibility", "selected.storage", "selected.documents", "selected.loading", @@ -214,9 +213,6 @@ export default { this.case_priority = response.data.items[0] } }) - - // Set other defaults - this.visibility = "Restricted" }, fetchData() {