Доделки ServerStorage

This commit is contained in:
Book Pauk
2019-09-06 22:07:15 +07:00
parent 96945dfc4a
commit 1c246f71f8
2 changed files with 75 additions and 37 deletions

View File

@@ -343,7 +343,7 @@ class BookManager {
await bmRecentStore.setItem('recent-last', this.recentLast);
this.recentChanged = true;
this.emit('recent-changed');
this.emit('recent-changed', result.key);
return result;
}
@@ -364,7 +364,7 @@ class BookManager {
this.recentLast = null;
await bmRecentStore.setItem('recent-last', this.recentLast);
}
this.emit('recent-changed');
this.emit('recent-changed', value.key);
}
async cleanRecentBooks() {