glances widget test 1

This commit is contained in:
Ben Phelps 2023-08-01 03:54:19 +03:00
parent 5221ed06ed
commit 9aba70d214
19 changed files with 1018 additions and 9 deletions

View file

@ -294,7 +294,8 @@ export function cleanServiceGroups(groups) {
snapshotHost, // kopia
snapshotPath,
userEmail, // azuredevops
repositoryId
repositoryId,
metric, // glances
} = cleanedService.widget;
let fieldsList = fields;
@ -358,6 +359,9 @@ export function cleanServiceGroups(groups) {
if (snapshotHost) cleanedService.widget.snapshotHost = snapshotHost;
if (snapshotPath) cleanedService.widget.snapshotPath = snapshotPath;
}
if (type === "glances") {
if (metric) cleanedService.widget.metric = metric;
}
}
return cleanedService;