parent
26bff0db52
commit
e2d9d855fb
1 changed files with 2 additions and 1 deletions
|
@ -173,7 +173,8 @@
|
||||||
function importFromJsonString(idb_db, jsonString) {
|
function importFromJsonString(idb_db, jsonString) {
|
||||||
return new Promise(function(resolve, reject) {
|
return new Promise(function(resolve, reject) {
|
||||||
var importObject = JSON.parse(jsonString);
|
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(', '));
|
console.log('Importing to these stores:', storeNames.join(', '));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue