Добавление работы с архивом

This commit is contained in:
Book Pauk
2022-07-14 01:17:09 +07:00
parent 935b767c2e
commit e6b9330108
2 changed files with 65 additions and 4 deletions

View File

@@ -433,9 +433,9 @@ class BookManager {
return this.recent[value.key];
}
async delRecentBook(value) {
async delRecentBook(value, delFlag = 1) {
const item = this.recent[value.key];
item.deleted = 1;
item.deleted = delFlag;
if (this.recentLastKey == value.key) {
await this.recentSetLastKey(null);