diff options
author | 2018-02-02 19:46:20 +0100 | |
---|---|---|
committer | 2018-02-02 19:46:20 +0100 | |
commit | cb45601e87c6af08fc8336da13ac6a0bb38b8484 (patch) | |
tree | 9d0d1b2a148a9b245b2aa2e95bf667e7370b12cf /src/stores | |
parent | got server callback and infobox working (diff) | |
download | ferdium-app-cb45601e87c6af08fc8336da13ac6a0bb38b8484.tar.gz ferdium-app-cb45601e87c6af08fc8336da13ac6a0bb38b8484.tar.zst ferdium-app-cb45601e87c6af08fc8336da13ac6a0bb38b8484.zip |
finished embedded invite functionality
ADDED internationalization
ADDED loading indicator in send button
REMOVED query param `from`
Diffstat (limited to 'src/stores')
-rw-r--r-- | src/stores/UserStore.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/stores/UserStore.js b/src/stores/UserStore.js index 82eab9f44..54627440a 100644 --- a/src/stores/UserStore.js +++ b/src/stores/UserStore.js | |||
@@ -163,8 +163,7 @@ export default class UserStore extends Store { | |||
163 | gaEvent('User', 'retrievePassword'); | 163 | gaEvent('User', 'retrievePassword'); |
164 | } | 164 | } |
165 | 165 | ||
166 | // TODO: REFACTOR from -> fromRoute | 166 | @action async _invite({ invites }) { |
167 | @action async _invite({ invites, from }) { | ||
168 | const data = invites.filter(invite => invite.email !== ''); | 167 | const data = invites.filter(invite => invite.email !== ''); |
169 | 168 | ||
170 | const response = await this.inviteRequest.execute(data)._promise; | 169 | const response = await this.inviteRequest.execute(data)._promise; |