summaryrefslogtreecommitdiffstats
path: root/web/react/dispatcher/event_helpers.jsx
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2015-12-01 13:43:56 -0500
committerHarrison Healey <harrisonmhealey@gmail.com>2015-12-01 13:43:56 -0500
commit74211401dd4be84f16fabd785c23efa22b3029cf (patch)
tree66d8846a9c5eb4ba2da81a3a68f0a92d62f338d5 /web/react/dispatcher/event_helpers.jsx
parent096bb150fb20eb98783b82fa53f8e3b065c4ed7c (diff)
parent5707df39bfca2b69d954abe2c4381e4029b4ace8 (diff)
downloadchat-74211401dd4be84f16fabd785c23efa22b3029cf.tar.gz
chat-74211401dd4be84f16fabd785c23efa22b3029cf.tar.bz2
chat-74211401dd4be84f16fabd785c23efa22b3029cf.zip
Merge pull request #1559 from mattermost/plt-510
PLT-510 Updated OAuth2 app register modal
Diffstat (limited to 'web/react/dispatcher/event_helpers.jsx')
-rw-r--r--web/react/dispatcher/event_helpers.jsx7
1 files changed, 7 insertions, 0 deletions
diff --git a/web/react/dispatcher/event_helpers.jsx b/web/react/dispatcher/event_helpers.jsx
index d7f255aaa..856eec2f1 100644
--- a/web/react/dispatcher/event_helpers.jsx
+++ b/web/react/dispatcher/event_helpers.jsx
@@ -104,3 +104,10 @@ export function showInviteMemberModal() {
value: true
});
}
+
+export function showRegisterAppModal() {
+ AppDispatcher.handleViewAction({
+ type: ActionTypes.TOGGLE_REGISTER_APP_MODAL,
+ value: true
+ });
+}