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

Commit a679c3d

Browse files
authored
fix(ui): filter incident type by selected project (#5583)
1 parent f2f709f commit a679c3d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/dispatch/static/dispatch/src/incident/type/IncidentTypeSelect.vue

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,15 @@ export default {
120120
sortBy: ["name"],
121121
descending: [false],
122122
itemsPerPage: this.numItems,
123+
enabled: ["true"],
123124
}
124125
125126
if (this.project) {
126-
filterOptions.filters = {
127-
project_id: this.project_id,
128-
enabled: ["true"],
127+
filterOptions = {
128+
...filterOptions,
129+
filters: {
130+
project: [this.project],
131+
},
129132
}
130133
}
131134

0 commit comments

Comments
 (0)