diff --git a/js/backup.js b/js/backup.js index da5f533d2..b2589ee3a 100644 --- a/js/backup.js +++ b/js/backup.js @@ -173,7 +173,8 @@ function importFromJsonString(idb_db, jsonString) { return new Promise(function(resolve, reject) { var importObject = JSON.parse(jsonString); - var storeNames = _.without(_.keys(importObject), ['debug']); + delete importObject.debug; + var storeNames = _.keys(importObject); console.log('Importing to these stores:', storeNames.join(', '));