wacz loading: support wacz 1.0.0! -- update to wabac.js 2.3.0

local file loading: support purge cache + reload for local files when filehandles are used (chrome)
update CHANGES.md
bump to 1.3.1
This commit is contained in:
Ilya Kreymer
2020-11-20 15:38:12 -08:00
parent 1bb14b1299
commit 4155b9af33
9 changed files with 69 additions and 63 deletions
+1 -13
View File
@@ -191,19 +191,7 @@ class Pages extends LitElement
const resp = await fetch(`${this.collInfo.apiPrefix}/curated/${this.currList}`);
const json = await resp.json();
const curated = [];
for (const c of json.curated) {
for (const p of this.filteredPages) {
if (p.id === c.page) {
if (p.ts) {
p.date = new Date(p.ts).toISOString();
}
curated.push(p);
break;
}
}
}
const curated = json.curated;
this.filteredPages = curated;
}