summaryrefslogtreecommitdiffstats
path: root/web/react/dispatcher/event_helpers.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/dispatcher/event_helpers.jsx')
-rw-r--r--web/react/dispatcher/event_helpers.jsx8
1 files changed, 8 insertions, 0 deletions
diff --git a/web/react/dispatcher/event_helpers.jsx b/web/react/dispatcher/event_helpers.jsx
index 5476d707f..47a16950e 100644
--- a/web/react/dispatcher/event_helpers.jsx
+++ b/web/react/dispatcher/event_helpers.jsx
@@ -117,6 +117,14 @@ export function showDeletePostModal(post, commentCount = 0) {
});
}
+export function showGetPostLinkModal(post) {
+ AppDispatcher.handleViewAction({
+ type: ActionTypes.TOGGLE_GET_POST_LINK_MODAL,
+ value: true,
+ post
+ });
+}
+
export function showGetTeamInviteLinkModal() {
AppDispatcher.handleViewAction({
type: Constants.ActionTypes.TOGGLE_GET_TEAM_INVITE_LINK_MODAL,