Skip to content

Commit

Permalink
Remove resolved and acknowledged filters as we switched to status (#1201
Browse files Browse the repository at this point in the history
)

# What this PR does

## Which issue(s) this PR fixes

## Checklist

- [ ] Tests updated
- [ ] Documentation added
- [ ] `CHANGELOG.md` updated
  • Loading branch information
iskhakov authored Jan 24, 2023
1 parent a16e05c commit 06afb33
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/models/alertgroup/alertgroup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,6 @@ export class AlertGroupStore extends BaseStore {
const result = await makeRequest(`${this.path}stats/`, {
params: {
...this.incidentFilters,
resolved: false,
acknowledged: false,
status: [IncidentStatus.New],
},
});
Expand All @@ -327,8 +325,6 @@ export class AlertGroupStore extends BaseStore {
const result = await makeRequest(`${this.path}stats/`, {
params: {
...this.incidentFilters,
resolved: false,
acknowledged: true,
status: [IncidentStatus.Acknowledged],
},
});
Expand All @@ -341,7 +337,6 @@ export class AlertGroupStore extends BaseStore {
const result = await makeRequest(`${this.path}stats/`, {
params: {
...this.incidentFilters,
resolved: true,
status: [IncidentStatus.Resolved],
},
});
Expand All @@ -354,7 +349,6 @@ export class AlertGroupStore extends BaseStore {
const result = await makeRequest(`${this.path}stats/`, {
params: {
...this.incidentFilters,
silenced: true,
status: [IncidentStatus.Silenced],
},
});
Expand Down

0 comments on commit 06afb33

Please sign in to comment.