diff options
Diffstat (limited to 'webapp/actions/global_actions.jsx')
-rw-r--r-- | webapp/actions/global_actions.jsx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/webapp/actions/global_actions.jsx b/webapp/actions/global_actions.jsx index ca38ec9f1..d3fa80d31 100644 --- a/webapp/actions/global_actions.jsx +++ b/webapp/actions/global_actions.jsx @@ -197,6 +197,13 @@ export function emitUserCommentedEvent(post) { }); } +export function showAccountSettingsModal() { + AppDispatcher.handleViewAction({ + type: ActionTypes.TOGGLE_ACCOUNT_SETTINGS_MODAL, + value: true + }); +} + export function showDeletePostModal(post, commentCount = 0) { AppDispatcher.handleViewAction({ type: ActionTypes.TOGGLE_DELETE_POST_MODAL, |