Updated comicManga tags to be variable depending on subtype

This commit is contained in:
ltctceplrm 2026-02-02 20:35:56 +01:00
parent faeca3459c
commit 671b4dd92e

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 {