fixed checkFiles bug

This commit is contained in:
Danny Coates 2018-02-26 17:50:58 -08:00
parent 5263839731
commit fb8e0afd85
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB

View file

@ -18,7 +18,7 @@ export default function(state, emitter) {
}
async function checkFiles() {
const files = state.storage.files;
const files = state.storage.files.slice();
let rerender = false;
for (const file of files) {
const oldLimit = file.dlimit;