diff options
author | frankiebee <frankie.diamond@gmail.com> | 2017-04-04 17:08:10 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2017-04-04 17:08:10 +0800 |
commit | 16c24db13b1c5da7afc222022af4bebf0f42f3aa (patch) | |
tree | 6e90ddff687c2935ee837de4ea18740e57f1703e /mascara/src/lib | |
parent | 5baa4fd8968092d605a8768c9934cf4e9b8a820d (diff) | |
download | tangerine-wallet-browser-16c24db13b1c5da7afc222022af4bebf0f42f3aa.tar tangerine-wallet-browser-16c24db13b1c5da7afc222022af4bebf0f42f3aa.tar.gz tangerine-wallet-browser-16c24db13b1c5da7afc222022af4bebf0f42f3aa.tar.bz2 tangerine-wallet-browser-16c24db13b1c5da7afc222022af4bebf0f42f3aa.tar.lz tangerine-wallet-browser-16c24db13b1c5da7afc222022af4bebf0f42f3aa.tar.xz tangerine-wallet-browser-16c24db13b1c5da7afc222022af4bebf0f42f3aa.tar.zst tangerine-wallet-browser-16c24db13b1c5da7afc222022af4bebf0f42f3aa.zip |
Fix first install flow
Diffstat (limited to 'mascara/src/lib')
-rw-r--r-- | mascara/src/lib/index-db-controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mascara/src/lib/index-db-controller.js b/mascara/src/lib/index-db-controller.js index 041ddae2e..8db1d5d21 100644 --- a/mascara/src/lib/index-db-controller.js +++ b/mascara/src/lib/index-db-controller.js @@ -38,7 +38,7 @@ module.exports = class IndexDbController extends EventEmitter { if (!data) { return this._add('dataStore', this.initialState) .then(() => this.get('dataStore')) - .then((versionedData) => Promise.resolve(versionedData.data)) + .then((versionedData) => Promise.resolve(versionedData)) } return Promise.resolve(data) }) |