Update app/vmalert/static/js/custom.js

Co-authored-by: Yury Molodov <yurymolodov@gmail.com>
This commit is contained in:
Victor Amorim dos Santos 2024-02-14 13:57:05 -03:00 committed by GitHub
parent 63c4ecdee1
commit 2ecb6d69b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -75,8 +75,8 @@ function filterRuleByName(){
}else{
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();
}
});