mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-01 15:33:35 +00:00
Update app/vmalert/static/js/custom.js
Co-authored-by: Yury Molodov <yurymolodov@gmail.com>
This commit is contained in:
parent
8aa367aa84
commit
63c4ecdee1
1 changed files with 2 additions and 2 deletions
|
@ -94,8 +94,8 @@ function filterRuleByLabels(){
|
|||
if (matches > 0){
|
||||
let target = $(this).attr('data-bs-target')
|
||||
|
||||
$("div[id='rules-"+target+"'").addClass('show');
|
||||
$("div[data-bs-target='rules-"+target+"'").show();
|
||||
$(`#rules-${target}`).addClass('show');
|
||||
$(`div[data-bs-target='rules-${target}']`).show();
|
||||
$(this).show();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue