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

Commit e55f9a1

Browse files
authored
fix(ui): only show enabled incident types (#5598)
1 parent 15cc89d commit e55f9a1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ export default {
120120
sortBy: ["name"],
121121
descending: [false],
122122
itemsPerPage: this.numItems,
123-
enabled: ["true"],
124123
}
125124
126125
if (this.project) {
@@ -132,6 +131,8 @@ export default {
132131
}
133132
}
134133
134+
filterOptions.filters["enabled"] = ["true"]
135+
135136
filterOptions = SearchUtils.createParametersFromTableOptions(
136137
{ ...filterOptions },
137138
"IncidentType"

0 commit comments

Comments
 (0)