mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-10 15:28:47 +00:00
Enhancement: handle immich v1.118 breaking API change (#4110)
This commit is contained in:
parent
cd8c224ffa
commit
19bdc0ec34
4 changed files with 32 additions and 12 deletions
|
@ -406,7 +406,7 @@ export function cleanServiceGroups(groups) {
|
|||
// frigate
|
||||
enableRecentEvents,
|
||||
|
||||
// glances, mealie, pihole, pfsense
|
||||
// glances, immich, mealie, pihole, pfsense
|
||||
version,
|
||||
|
||||
// glances
|
||||
|
@ -568,8 +568,8 @@ export function cleanServiceGroups(groups) {
|
|||
if (snapshotHost) cleanedService.widget.snapshotHost = snapshotHost;
|
||||
if (snapshotPath) cleanedService.widget.snapshotPath = snapshotPath;
|
||||
}
|
||||
if (["glances", "mealie", "pfsense", "pihole"].includes(type)) {
|
||||
if (version) cleanedService.widget.version = version;
|
||||
if (["glances", "immich", "mealie", "pfsense", "pihole"].includes(type)) {
|
||||
if (version) cleanedService.widget.version = parseInt(version, 10);
|
||||
}
|
||||
if (type === "glances") {
|
||||
if (metric) cleanedService.widget.metric = metric;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue