mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-06 21:57:48 +01:00
Enhancement: support for glances v4 (#3196)
This commit is contained in:
@@ -394,6 +394,7 @@ export function cleanServiceGroups(groups) {
|
||||
enableNowPlaying,
|
||||
|
||||
// glances
|
||||
version,
|
||||
chart,
|
||||
metric,
|
||||
pointsLimit,
|
||||
@@ -528,6 +529,7 @@ export function cleanServiceGroups(groups) {
|
||||
if (snapshotPath) cleanedService.widget.snapshotPath = snapshotPath;
|
||||
}
|
||||
if (type === "glances") {
|
||||
if (version) cleanedService.widget.version = version;
|
||||
if (metric) cleanedService.widget.metric = metric;
|
||||
if (chart !== undefined) {
|
||||
cleanedService.widget.chart = chart;
|
||||
|
||||
Reference in New Issue
Block a user