Chore: handle mealie API change (#3895)

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
joncrangleandshamoon authored and GitHub committed 2024-08-24 21:02:47 -07:00
1 parent 8ff68dd6bf
commit b14374f660
4 files changed
+25 -16

No files matched your search

+2 -5
View File
@@ -402,7 +402,7 @@ export function cleanServiceGroups(groups) {
// frigate
enableRecentEvents,
// glances, pihole, pfsense
// glances, mealie, pihole, pfsense
version,
// glances
@@ -512,9 +512,6 @@ export function cleanServiceGroups(groups) {
if (type === "unifi") {
if (site) cleanedService.widget.site = site;
}
if (type === "pfsense") {
if (version) cleanedService.widget.version = version;
}
if (type === "proxmox") {
if (node) cleanedService.widget.node = node;
}
@@ -561,7 +558,7 @@ export function cleanServiceGroups(groups) {
if (snapshotHost) cleanedService.widget.snapshotHost = snapshotHost;
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 (type === "glances") {