Merge pull request #247 from ltctceplrm/master
Update comicManga tags to be variable depending on subtype
This commit is contained in:
commit
e503ca5c66
1 changed files with 7 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue