mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 19:15:03 +00:00
fixed show filter
This commit is contained in:
parent
a11d082bcb
commit
83d16879df
3 changed files with 8 additions and 3 deletions
|
|
@ -111,7 +111,12 @@ class DataTableUtils {
|
|||
|
||||
const count = DataTableUtils.countEntries(key, tableAPI.columns(columnIndex).data()[0]);
|
||||
// hide the entry if count is zero
|
||||
if (count == 0) $(this).hide();
|
||||
if (count == 0) {
|
||||
$(this).hide();
|
||||
}
|
||||
else {
|
||||
$(this).show();
|
||||
}
|
||||
|
||||
// update the counter text
|
||||
$(this).find('.counter').text(`(${count})`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue