Add Network render

This commit is contained in:
Alfredo Cardigliano 2023-07-14 09:52:27 +02:00
parent ef36773a87
commit f3c8bdcd90
3 changed files with 7 additions and 1 deletions

View file

@ -727,6 +727,11 @@ export class DataTableRenders {
return DataTableRenders.filterize('ip', obj, obj, obj, obj, null, true);
}
static formatNetwork(obj, type, row, zero_is_null) {
if (type !== "display") return obj;
return DataTableRenders.filterize('network_name', obj, obj, obj, obj, null, false);
}
static formatProbeIP(obj, type, row, zero_is_null) {
if (type !== "display") return obj;