mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 02:16:39 +00:00
Missing Network/Pool Alert Filter #6418
This commit is contained in:
parent
7e84a6afdb
commit
e89795bd8c
10 changed files with 29 additions and 16 deletions
|
|
@ -638,6 +638,18 @@ export class DataTableRenders {
|
|||
return DataTableRenders.filterize('ip', obj, obj, obj, obj);
|
||||
}
|
||||
|
||||
static getFormatGenericField(field) {
|
||||
return function(obj, type, row) {
|
||||
if (type !== "display") return obj.value;
|
||||
let html_ref = '';
|
||||
if (obj.reference !== undefined)
|
||||
html_ref = obj.reference
|
||||
let label = "";
|
||||
label = label + "@" + DataTableRenders.filterize(field, row[field].value, row[field].label, row[field].label, row[field].label);
|
||||
return label + ' ' + html_ref;
|
||||
}
|
||||
}
|
||||
|
||||
static formatHost(obj, type, row) {
|
||||
if (type !== "display") return obj;
|
||||
let html_ref = '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue