Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

Commit 0e5bc92

Browse files
authored
Support multiple participants as filters in dashboard (#5772)
Similar to #5443
1 parent 6e22f32 commit 0e5bc92

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

src/dispatch/static/dispatch/src/dashboard/case/CaseDialogFilter.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,6 @@ export default {
153153
methods: {
154154
applyFilters() {
155155
if (this.local_participant) {
156-
if (Array.isArray(this.local_participant)) {
157-
this.local_participant = this.local_participant[0]
158-
}
159156
if (this.local_participant_is_assignee) {
160157
this.filters.assignee = this.local_participant
161158
this.filters.participant = null

src/dispatch/static/dispatch/src/dashboard/incident/IncidentDialogFilter.vue

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,19 @@
4545
<v-list-item>
4646
<v-card class="mx-auto">
4747
<v-card-title>Incident Participant</v-card-title>
48-
<v-card-subtitle>Show only incidents with this participant</v-card-subtitle>
48+
<v-card-subtitle>Show only incidents with these participant(s)</v-card-subtitle>
4949
<participant-select
5050
class="ml-10 mr-5"
5151
v-model="local_participant"
5252
label="Participant"
53-
hint="Show only incidents with this participant"
53+
hint="Show only incidents with these participant(s)"
5454
:project="filters.project"
5555
clearable
5656
/>
5757
<v-checkbox
5858
class="ml-10 mr-5"
5959
v-model="local_participant_is_commander"
60-
label="And this participant is the Incident Commander"
60+
label="And these participant(s) are the Incident Commander"
6161
:disabled="local_participant == null"
6262
/>
6363
</v-card>
@@ -159,9 +159,6 @@ export default {
159159
methods: {
160160
applyFilters() {
161161
if (this.local_participant) {
162-
if (Array.isArray(this.local_participant)) {
163-
this.local_participant = this.local_participant[0]
164-
}
165162
if (this.local_participant_is_commander) {
166163
this.filters.commander = this.local_participant
167164
this.filters.participant = null

0 commit comments

Comments
 (0)