aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/UserStore.js
diff options
context:
space:
mode:
authorLibravatar haraldox <hnaumann+github@gmail.com>2018-01-30 15:22:12 +0100
committerLibravatar haraldox <hnaumann+github@gmail.com>2018-01-30 15:22:12 +0100
commit2b5ce92f746ba8fb35ba2cc0d78a8b9a42960e84 (patch)
tree6b5064d12dc973919b74a25a63bccb182647384f /src/stores/UserStore.js
parent[MINOR] fix indentation (diff)
downloadferdium-app-2b5ce92f746ba8fb35ba2cc0d78a8b9a42960e84.tar.gz
ferdium-app-2b5ce92f746ba8fb35ba2cc0d78a8b9a42960e84.tar.zst
ferdium-app-2b5ce92f746ba8fb35ba2cc0d78a8b9a42960e84.zip
[WIP] started work on infobox
Diffstat (limited to 'src/stores/UserStore.js')
-rw-r--r--src/stores/UserStore.js4
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 }