mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-09 23:08:48 +00:00
Chore: handle mealie API change (#3895)
--------- Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
parent
8ff68dd6bf
commit
b14374f660
4 changed files with 25 additions and 16 deletions
|
@ -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") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue