mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 09:20:10 +00:00
showing no pool message when there are no pool assocated with a config
This commit is contained in:
parent
46b50903e9
commit
1ba69cca0a
1 changed files with 1 additions and 4 deletions
|
|
@ -36,12 +36,9 @@ $(document).ready(function() {
|
|||
const flat = data.map((f) => f.label);
|
||||
return flat.join(', ');
|
||||
}
|
||||
else if (type == 'display' && data.length == 0 && row.id != 0) {
|
||||
else if (type == 'display' && data.length == 0) {
|
||||
return `<i>${i18n.no_pools_applied}</i>`
|
||||
}
|
||||
else if (type == "display" && row.id == 0) {
|
||||
return `<i>${i18n.default}</i>`;
|
||||
}
|
||||
|
||||
// return pools as a string
|
||||
const flat = data.map((f) => f.label);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue