remove unused
This commit is contained in:
1 parent
a1973a6d2b
commit
363baef7b1
16 files changed
+4
-1410
No files matched your search
@@ -26,7 +26,9 @@ const getChartConfigs = (
|
||||
): ChartConfig[] => {
|
||||
const configs: ChartConfig[] = [];
|
||||
|
||||
const netInterfaces = checks[0]?.net || [];
|
||||
// Find the first check that has network data to get interface names
|
||||
const checkWithNet = checks.find((c) => c.net && c.net.length > 0);
|
||||
const netInterfaces = checkWithNet?.net || [];
|
||||
|
||||
netInterfaces.forEach((iface, idx) => {
|
||||
configs.push(
|
||||
|
||||
Reference in new issue
Block a user