Merge pull request #247 from ltctceplrm/master

Update comicManga tags to be variable depending on subtype
This commit is contained in:
Moritz Jung 2026-02-02 21:42:03 +01:00 committed by GitHub
commit e503ca5c66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -61,7 +61,13 @@ export class ComicMangaModel extends MediaTypeModel {
}
getTags(): string[] {
return [mediaDbTag, 'manga', 'light-novel', 'comicbook'];
const tags = [mediaDbTag];
if (this.subType) {
tags.push(this.subType);
} else {
tags.push('comicManga');
}
return tags;
}
getMediaType(): MediaType {