Skip to content

Commit

Permalink
fix error to disblay monitors with disable/enable state
Browse files Browse the repository at this point in the history
Signed-off-by: Riya Saxena <[email protected]>
  • Loading branch information
riysaxen-amzn committed Feb 1, 2024
1 parent 7cef11c commit 0db7426
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 0db7426

Please sign in to comment.