diff options
author | haraldox <hnaumann+github@gmail.com> | 2018-01-30 15:22:12 +0100 |
---|---|---|
committer | haraldox <hnaumann+github@gmail.com> | 2018-01-30 15:22:12 +0100 |
commit | 2b5ce92f746ba8fb35ba2cc0d78a8b9a42960e84 (patch) | |
tree | 6b5064d12dc973919b74a25a63bccb182647384f /src/stores | |
parent | [MINOR] fix indentation (diff) | |
download | ferdium-app-2b5ce92f746ba8fb35ba2cc0d78a8b9a42960e84.tar.gz ferdium-app-2b5ce92f746ba8fb35ba2cc0d78a8b9a42960e84.tar.zst ferdium-app-2b5ce92f746ba8fb35ba2cc0d78a8b9a42960e84.zip |
[WIP] started work on infobox
Diffstat (limited to 'src/stores')
-rw-r--r-- | src/stores/UserStore.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/stores/UserStore.js b/src/stores/UserStore.js index 91b544b29..152090f46 100644 --- a/src/stores/UserStore.js +++ b/src/stores/UserStore.js | |||
@@ -166,8 +166,10 @@ export default class UserStore extends Store { | |||
166 | 166 | ||
167 | this.inviteRequest.execute(data); | 167 | this.inviteRequest.execute(data); |
168 | 168 | ||
169 | console.log(from) | ||
170 | |||
169 | // we do not wait for a server response before redirecting the user | 171 | // we do not wait for a server response before redirecting the user |
170 | this.stores.router.push(from || '/'); | 172 | this.stores.router.push(from + '?success=true' || '/'); |
171 | 173 | ||
172 | gaEvent('User', 'inviteUsers'); | 174 | gaEvent('User', 'inviteUsers'); |
173 | } | 175 | } |