feat: front update
This commit is contained in:
parent
7303d63198
commit
4f4f86fb91
@@ -11,7 +11,8 @@ export class Manga {
|
||||
genres,
|
||||
status,
|
||||
rating,
|
||||
description = ''
|
||||
description = '',
|
||||
createdAt = null
|
||||
) {
|
||||
this.id = id;
|
||||
this.title = title;
|
||||
@@ -23,6 +24,7 @@ export class Manga {
|
||||
this.status = status;
|
||||
this.rating = rating;
|
||||
this.description = description;
|
||||
this.createdAt = createdAt;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -49,7 +51,8 @@ export class MangaDetail extends Manga {
|
||||
manga.genres,
|
||||
manga.status,
|
||||
manga.rating,
|
||||
manga.description
|
||||
manga.description,
|
||||
manga.createdAt
|
||||
);
|
||||
this.chapters = this.organizeChaptersByVolume(chapters);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user