Updated comicManga tags to be variable depending on subtype
This commit is contained in:
parent
faeca3459c
commit
671b4dd92e
1 changed files with 7 additions and 1 deletions
|
|
@ -61,7 +61,13 @@ export class ComicMangaModel extends MediaTypeModel {
|
||||||
}
|
}
|
||||||
|
|
||||||
getTags(): string[] {
|
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 {
|
getMediaType(): MediaType {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue