Include version for mealie in service-helpers

This commit is contained in:
shamoon 2024-08-24 21:00:35 -07:00
parent 5fde0913a1
commit 125bcd90d1

View File

@ -402,7 +402,7 @@ export function cleanServiceGroups(groups) {
// frigate // frigate
enableRecentEvents, enableRecentEvents,
// glances, pihole, pfsense // glances, mealie, pihole, pfsense
version, version,
// glances // glances
@ -512,9 +512,6 @@ export function cleanServiceGroups(groups) {
if (type === "unifi") { if (type === "unifi") {
if (site) cleanedService.widget.site = site; if (site) cleanedService.widget.site = site;
} }
if (type === "pfsense") {
if (version) cleanedService.widget.version = version;
}
if (type === "proxmox") { if (type === "proxmox") {
if (node) cleanedService.widget.node = node; if (node) cleanedService.widget.node = node;
} }
@ -561,7 +558,7 @@ export function cleanServiceGroups(groups) {
if (snapshotHost) cleanedService.widget.snapshotHost = snapshotHost; if (snapshotHost) cleanedService.widget.snapshotHost = snapshotHost;
if (snapshotPath) cleanedService.widget.snapshotPath = snapshotPath; if (snapshotPath) cleanedService.widget.snapshotPath = snapshotPath;
} }
if (["glances", "pihole"].includes(type)) { if (["glances", "mealie", "pfsense", "pihole"].includes(type)) {
if (version) cleanedService.widget.version = version; if (version) cleanedService.widget.version = version;
} }
if (type === "glances") { if (type === "glances") {