Skip to content

Commit

Permalink
fix(ui): filter incident type by selected project (#5583)
Browse files Browse the repository at this point in the history
  • Loading branch information
whitdog47 authored Dec 9, 2024
1 parent f2f709f commit a679c3d
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,15 @@ export default {
sortBy: ["name"],
descending: [false],
itemsPerPage: this.numItems,
enabled: ["true"],
}
if (this.project) {
filterOptions.filters = {
project_id: this.project_id,
enabled: ["true"],
filterOptions = {
...filterOptions,
filters: {
project: [this.project],
},
}
}
Expand Down

0 comments on commit a679c3d

Please sign in to comment.