diff options
author | 2018-01-21 18:35:29 +0100 | |
---|---|---|
committer | 2018-01-21 18:35:29 +0100 | |
commit | 05269a20c78406d8ff3a83fddca923a996f82d1b (patch) | |
tree | 0b6b4b69f08cd5632e25a43b4b554a12be411f01 /src/stores | |
parent | allow arbitrary routes in dev mode (diff) | |
download | ferdium-app-05269a20c78406d8ff3a83fddca923a996f82d1b.tar.gz ferdium-app-05269a20c78406d8ff3a83fddca923a996f82d1b.tar.zst ferdium-app-05269a20c78406d8ff3a83fddca923a996f82d1b.zip |
ADDED invite button in Account Settings
[WIP] return to previous route on submit / cancel
Diffstat (limited to 'src/stores')
-rw-r--r-- | src/stores/UserStore.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stores/UserStore.js b/src/stores/UserStore.js index 3a43668a7..2c164f1bf 100644 --- a/src/stores/UserStore.js +++ b/src/stores/UserStore.js | |||
@@ -165,6 +165,8 @@ export default class UserStore extends Store { | |||
165 | 165 | ||
166 | this.inviteRequest.execute(data); | 166 | this.inviteRequest.execute(data); |
167 | 167 | ||
168 | console.log(this.stores.router.location ) | ||
169 | |||
168 | // we do not wait for a server response before redirecting the user | 170 | // we do not wait for a server response before redirecting the user |
169 | this.stores.router.push('/'); | 171 | this.stores.router.push('/'); |
170 | 172 | ||