From 22ddbb609d22f80548d306335e03e75e00d0b42e Mon Sep 17 00:00:00 2001 From: Bitcoinera Date: Mon, 23 Dec 2019 18:58:10 +0100 Subject: [PATCH 1/2] fix --- src/vuex/modules/connection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vuex/modules/connection.js b/src/vuex/modules/connection.js index b6254f1a8b..f9fdc5b2c0 100644 --- a/src/vuex/modules/connection.js +++ b/src/vuex/modules/connection.js @@ -52,8 +52,8 @@ export default function ({ apollo }) { async setNetwork({ commit, dispatch }, network) { dispatch(`signOut`) dispatch(`persistNetwork`, network) - dispatch(`checkForPersistedSession`) // check for persisted session on that network commit("setNetworkId", network.id) + dispatch(`checkForPersistedSession`) // check for persisted session on that network console.info(`Connecting to: ${network.id}`) } } From 40bf23290688ad4f440e1812c7b42072ed77af0f Mon Sep 17 00:00:00 2001 From: Bitcoinera Date: Mon, 23 Dec 2019 19:02:11 +0100 Subject: [PATCH 2/2] changelog --- changes/ana_fix-session-per-network | 1 + 1 file changed, 1 insertion(+) create mode 100644 changes/ana_fix-session-per-network diff --git a/changes/ana_fix-session-per-network b/changes/ana_fix-session-per-network new file mode 100644 index 0000000000..f0c2143fe3 --- /dev/null +++ b/changes/ana_fix-session-per-network @@ -0,0 +1 @@ +[Fixed] [#3354](https://github.com/cosmos/lunie/pull/3354) Fix session per network so it signs in to the current network @Bitcoinera \ No newline at end of file