From fb8e0afd8583ce26d3b412e2ab4f8b06cdc445d0 Mon Sep 17 00:00:00 2001 From: Danny Coates Date: Mon, 26 Feb 2018 17:50:58 -0800 Subject: [PATCH] fixed checkFiles bug --- app/fileManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/fileManager.js b/app/fileManager.js index 04eb99a3..d1860c1d 100644 --- a/app/fileManager.js +++ b/app/fileManager.js @@ -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;