mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-09 06:48:47 +00:00
Enhancement: support for glances v4 (#3196)
This commit is contained in:
parent
4fe4ae9622
commit
def9b27006
14 changed files with 38 additions and 18 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue