mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-09 14:58:47 +00:00
OMV widget implementation
This commit is contained in:
parent
19bf7a0e5a
commit
bf8c10bb61
10 changed files with 311 additions and 0 deletions
|
@ -298,6 +298,7 @@ export function cleanServiceGroups(groups) {
|
|||
metric, // glances
|
||||
stream, // mjpeg
|
||||
fit,
|
||||
method, // openmediavault widget
|
||||
} = cleanedService.widget;
|
||||
|
||||
let fieldsList = fields;
|
||||
|
@ -368,6 +369,9 @@ export function cleanServiceGroups(groups) {
|
|||
if (stream) cleanedService.widget.stream = stream;
|
||||
if (fit) cleanedService.widget.fit = fit;
|
||||
}
|
||||
if (type === "openmediavault") {
|
||||
if (method) cleanedService.widget.method = method;
|
||||
}
|
||||
}
|
||||
|
||||
return cleanedService;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue