diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-07-12 00:01:55 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-07-12 00:01:55 +0900 |
| commit | 191c06461117afee466ea1150a60f92fde4c2f36 (patch) | |
| tree | 407e44e52db18f0b537d79c4482064f3b11a9834 /src/client | |
| parent | chore: Update dependencies :rocket: (diff) | |
| download | sharkey-191c06461117afee466ea1150a60f92fde4c2f36.tar.gz sharkey-191c06461117afee466ea1150a60f92fde4c2f36.tar.bz2 sharkey-191c06461117afee466ea1150a60f92fde4c2f36.zip | |
chore: Add TODO
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/store.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/store.ts b/src/client/store.ts index 5eff0567a8..38994f90c7 100644 --- a/src/client/store.ts +++ b/src/client/store.ts @@ -234,6 +234,7 @@ export default () => new Vuex.Store({ ctx.commit('updateI', i); ctx.commit('settings/init', i.clientData); ctx.commit('deviceUser/init', ctx.state.device.userData[i.id] || {}); + // TODO: ローカルストレージを消してページリロードしたときは i が無いのでその場合のハンドリングをよしなにやる await ctx.dispatch('addAcount', { id: i.id, i: localStorage.getItem('i') }); }, |