Skip to content

Commit

Permalink
fix error to disblay monitors with disable/enable state (#869) (#873)
Browse files Browse the repository at this point in the history
(cherry picked from commit 2353c46)

Signed-off-by: Riya Saxena <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 85091b0 commit 0c5f1b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/services/MonitorService.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ export default class MonitorService {
query: {
bool: {
should,
minimum_should_match: state !== 'all' ? 1 : 0,
must: mustList,
},
},
Expand Down

0 comments on commit 0c5f1b8

Please sign in to comment.