mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-07 09:35:54 -08:00
Feature: Unraid widget (#5683)
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
@@ -396,6 +396,12 @@ export function cleanServiceGroups(groups) {
|
||||
// unifi
|
||||
site,
|
||||
|
||||
// unraid
|
||||
pool1,
|
||||
pool2,
|
||||
pool3,
|
||||
pool4,
|
||||
|
||||
// vikunja
|
||||
enableTaskList,
|
||||
|
||||
@@ -611,6 +617,12 @@ export function cleanServiceGroups(groups) {
|
||||
if (type === "grafana") {
|
||||
if (alerts) widget.alerts = alerts;
|
||||
}
|
||||
if (type === "unraid") {
|
||||
if (pool1) widget.pool1 = pool1;
|
||||
if (pool2) widget.pool2 = pool2;
|
||||
if (pool3) widget.pool3 = pool3;
|
||||
if (pool4) widget.pool4 = pool4;
|
||||
}
|
||||
return widget;
|
||||
});
|
||||
return cleanedService;
|
||||
|
||||
Reference in New Issue
Block a user