diff --git a/web/react/components/channel_header.jsx b/web/react/components/channel_header.jsx index 39f2837460..101fd85e5f 100644 --- a/web/react/components/channel_header.jsx +++ b/web/react/components/channel_header.jsx @@ -11,6 +11,7 @@ const TextFormatting = require('../utils/text_formatting.jsx'); const Utils = require('../utils/utils.jsx'); const MessageWrapper = require('./message_wrapper.jsx'); const PopoverListMembers = require('./popover_list_members.jsx'); +const EditChannelPurposeModal = require('./edit_channel_purpose_modal.jsx'); const AppDispatcher = require('../dispatcher/app_dispatcher.jsx'); const Constants = require('../utils/constants.jsx'); @@ -27,7 +28,9 @@ export default class ChannelHeader extends React.Component { this.handleLeave = this.handleLeave.bind(this); this.searchMentions = this.searchMentions.bind(this); - this.state = this.getStateFromStores(); + const state = this.getStateFromStores(); + state.showEditChannelPurposeModal = false; + this.state = state; } getStateFromStores() { return { @@ -232,6 +235,20 @@ export default class ChannelHeader extends React.Component { ); + dropdownContents.push( +
|
+
+
+
+
+ {channelTitle}
+
+
+
+
|
+
+ |
+
+
- {channelTitle}
-
+
-
|
-
- |
-
-
-
-
-
-
-
|
-
|---|
{channel.display_name}
-{channel.header}
+{channel.purpose}