This commit is contained in:
Pieter Vander Vennet 2025-02-04 01:02:57 +01:00
parent 963eabae23
commit 52d4adee84
2 changed files with 28 additions and 11 deletions

View file

@ -90,6 +90,9 @@ export default class AllImageProviders {
const allPrefixes = Utils.Dedup(prefixes ?? [].concat(...sources.map(s => s.defaultKeyPrefixes)))
for (const prefix of allPrefixes) {
for (const k in tags) {
if (!tags[k]) {
continue
}
if (k === prefix || k.startsWith(prefix + ":")) {
count++
continue