Update service-helpers.js

Implemented datastore key for proxmoxbackupserver widget
This commit is contained in:
choehn86 2025-01-15 22:42:18 -05:00 committed by GitHub
parent 2f28b7790e
commit 29bf2cf354
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -490,6 +490,9 @@ export function cleanServiceGroups(groups) {
// proxmox
node,
// proxmoxbackupserver
datastore,
// speedtest
bitratePrecision,
@ -565,6 +568,9 @@ export function cleanServiceGroups(groups) {
if (type === "proxmox") {
if (node) widget.node = node;
}
if (type === "proxmoxbackupserver") {
if (datastore) widget.datastore = datastore;
}
if (type === "kubernetes") {
if (namespace) widget.namespace = namespace;
if (app) widget.app = app;