mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-04 09:50:09 +00:00
Prevents certain categories to be missing when switching tabs
Addresses #5914
This commit is contained in:
parent
133fc4dd10
commit
75d37ec613
1 changed files with 2 additions and 2 deletions
|
|
@ -1656,12 +1656,12 @@ $(function () {
|
|||
}
|
||||
|
||||
const hide_categories_dropdown = () => {
|
||||
|
||||
// get alla categories from current datatable instance
|
||||
const data_rows = $script_table
|
||||
.column(CATEGORY_COLUMN_INDEX)
|
||||
.search('')
|
||||
.rows({ filter: 'applied' }).data();
|
||||
// .rows({ filter: 'applied' }) /* Causes issues with invalid cats when switching tabs */
|
||||
.data();
|
||||
const categories_set = new Set();
|
||||
|
||||
for (let i = 0; i < data_rows.length; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue