Закончена очередная переработка loadRecent & saveRecent

This commit is contained in:
Book Pauk
2019-10-18 15:19:53 +07:00
parent 5184661652
commit 51ebbbc569
2 changed files with 63 additions and 22 deletions

View File

@@ -437,7 +437,7 @@ class BookManager {
Object.assign(mergedRecent, value);
//подстраховка
//подстраховка от hotReload
for (let i of Object.keys(mergedRecent)) {
if (!mergedRecent[i].key || mergedRecent[i].key !== i)
delete mergedRecent[i];