mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-07 09:35:54 -08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user