Enhancement: Add support for specifying a datastore to PBS widget (#4614)

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
choehn86
2025-04-28 11:00:02 -04:00
committed by GitHub
parent a35da39c03
commit 4a9ca62efd
2 changed files with 18 additions and 1 deletions

View File

@@ -362,6 +362,9 @@ export function cleanServiceGroups(groups) {
// proxmox
node,
// proxmoxbackupserver
datastore,
// speedtest
bitratePrecision,
@@ -437,6 +440,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;