fix: assetTagFilter any matching (#32027)

fix: assetTagFilter any matching (#32008)

(cherry picked from commit 28e375c0585f8ee69f80257dc0be073a2b114cdf)

Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
This commit is contained in:
immich-push-o-matic[bot]
2026-10-02 15:50:49 +00:00
committed by GitHub
co-authored by Daniel Dietzler
parent 643e606a5b
commit 6e5a4fdf00
2 changed files with 123 additions and 2 deletions
+2 -2
View File
@@ -187,7 +187,7 @@ const methods = wrapper<Manifest>({
for (const tag of config.tags) {
if (assetTags.includes(tag)) {
if (config.matching === 'any') {
break;
return { workflow: { continue: true } };
} else if (config.matching === 'none') {
return { workflow: { continue: false } };
}
@@ -196,7 +196,7 @@ const methods = wrapper<Manifest>({
}
}
return { workflow: { continue: true } };
return { workflow: { continue: config.matching !== 'any' } };
},
assetTypeFilter: ({ config, data }) => {