add mjpeg stream widget
This commit is contained in:
1 parent
15bf55952b
commit
ba19f77b8f
5 files changed
+32
No files matched your search
@@ -296,6 +296,7 @@ export function cleanServiceGroups(groups) {
|
||||
userEmail, // azuredevops
|
||||
repositoryId,
|
||||
metric, // glances
|
||||
stream, // mjpeg
|
||||
} = cleanedService.widget;
|
||||
|
||||
let fieldsList = fields;
|
||||
@@ -362,6 +363,9 @@ export function cleanServiceGroups(groups) {
|
||||
if (type === "glances") {
|
||||
if (metric) cleanedService.widget.metric = metric;
|
||||
}
|
||||
if (type === "mjpeg") {
|
||||
if (stream) cleanedService.widget.stream = stream;
|
||||
}
|
||||
}
|
||||
|
||||
return cleanedService;
|
||||
|
||||
Reference in new issue
Block a user