Работа над opds

This commit is contained in:
Book Pauk
2022-11-24 17:20:11 +07:00
parent e356b87494
commit fd9bc45fb1
5 changed files with 130 additions and 10 deletions

View File

@@ -298,6 +298,15 @@ class BasePage {
});
}
bookAuthor(author) {
if (author) {
let a = author.split(',');
return a.slice(0, 3).join(', ') + (a.length > 3 ? ' и др.' : '');
}
return '';
}
async getGenres() {
let result;
if (!this.genres) {