Added search by tg userid

This commit is contained in:
0xCA 2023-11-18 18:09:22 +05:00
parent fe388c7dbe
commit 1114ef3214
2 changed files with 11 additions and 0 deletions

View file

@ -420,6 +420,11 @@ Wireguard Clients
}
})
$(".badge-secondary").filter(':contains("' + query + '")').parent().parent().parent().show();
$(".fa-tguserid").each(function () {
if ($(this).parent().text().trim().indexOf(query.trim()) != -1) {
$(this).closest('.col-lg-4').show();
}
})
})
$("#status-selector").on('change', function () {