mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-07 09:35:54 -08:00
Enhancement: Komodo widget (#5407)
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
@@ -338,6 +338,10 @@ export function cleanServiceGroups(groups) {
|
||||
// jellystat
|
||||
days,
|
||||
|
||||
// komodo
|
||||
showSummary,
|
||||
showStacks,
|
||||
|
||||
// kopia
|
||||
snapshotHost,
|
||||
snapshotPath,
|
||||
@@ -450,6 +454,10 @@ export function cleanServiceGroups(groups) {
|
||||
if (type === "proxmoxbackupserver") {
|
||||
if (datastore) widget.datastore = datastore;
|
||||
}
|
||||
if (type === "komodo") {
|
||||
if (showSummary !== undefined) widget.showSummary = !!JSON.parse(showSummary);
|
||||
if (showStacks !== undefined) widget.showStacks = !!JSON.parse(showStacks);
|
||||
}
|
||||
if (type === "kubernetes") {
|
||||
if (namespace) widget.namespace = namespace;
|
||||
if (app) widget.app = app;
|
||||
|
||||
Reference in New Issue
Block a user