Skip to content
Snippets Groups Projects

CE-2132: Display network scope in host table

Merged Domonkos Gulyas requested to merge CE-2132_display-network-scope-on-host-table into develop
1 file
+ 3
1
Compare changes
  • Side-by-side
  • Inline
@@ -14,7 +14,8 @@ const columns = [
@@ -14,7 +14,8 @@ const columns = [
},
},
{ field: "hostName", headerName: "Host" },
{ field: "hostName", headerName: "Host" },
{ field: "description", headerName: "Description" },
{ field: "description", headerName: "Description" },
{ field: "network", headerName: "Network" }
{ field: "network", headerName: "Network" },
 
{ field: "scope", headerName: "Network scope" }
];
];
export function rowDescription(description) {
export function rowDescription(description) {
@@ -46,6 +47,7 @@ export function createRow(hostContainer) {
@@ -46,6 +47,7 @@ export function createRow(hostContainer) {
host: host,
host: host,
description: rowDescription(host.description),
description: rowDescription(host.description),
network: noWrapText(host.network),
network: noWrapText(host.network),
 
scope: noWrapText(host.scope),
discrepancy: hostContainer.alertSeverity === "WARNING",
discrepancy: hostContainer.alertSeverity === "WARNING",
inconsistentState: hostContainer.alertSeverity === "ERROR",
inconsistentState: hostContainer.alertSeverity === "ERROR",
shortenLongData: true,
shortenLongData: true,
Loading