From 2b5ce92f746ba8fb35ba2cc0d78a8b9a42960e84 Mon Sep 17 00:00:00 2001 From: haraldox Date: Tue, 30 Jan 2018 15:22:12 +0100 Subject: [WIP] started work on infobox --- src/stores/UserStore.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/stores/UserStore.js') 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 { this.inviteRequest.execute(data); + console.log(from) + // we do not wait for a server response before redirecting the user - this.stores.router.push(from || '/'); + this.stores.router.push(from + '?success=true' || '/'); gaEvent('User', 'inviteUsers'); } -- cgit v1.2.3-54-g00ecf