mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-10 07:18:47 +00:00
add mjpeg stream widget
This commit is contained in:
parent
15bf55952b
commit
ba19f77b8f
5 changed files with 32 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue