From 16734976a78e6d68dff2cb33c5d06bc7d6480645 Mon Sep 17 00:00:00 2001 From: Artur Paikin Date: Mon, 18 Sep 2017 17:11:21 -0400 Subject: [PATCH] =?UTF-8?q?We=20don=E2=80=99t=20need=20to=20repeat=20id=20?= =?UTF-8?q?here,=20since=20the=20key=20is=20id=3F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @goto-bus-stop I might be missing something though --- src/plugins/RestoreFiles/IndexedDBStore.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/plugins/RestoreFiles/IndexedDBStore.js b/src/plugins/RestoreFiles/IndexedDBStore.js index 36b4537d4..761d25413 100644 --- a/src/plugins/RestoreFiles/IndexedDBStore.js +++ b/src/plugins/RestoreFiles/IndexedDBStore.js @@ -63,10 +63,7 @@ class IndexedDBStore { }).then((files) => { const result = {} files.forEach((file) => { - result[file.fileID] = { - id: file.fileID, - data: file.data - } + result[file.fileID] = file.data }) return result })