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
1 changed files with 1 additions and 1 deletions

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;