Merge pull request #2208 from mattermost/client-upgrades
Updating some client deps + eslint
Этот коммит содержится в:
@@ -57,7 +57,7 @@ class UserSettingsIntegrationsTab extends React.Component {
|
||||
if (global.window.mm_config.EnableIncomingWebhooks === 'true') {
|
||||
if (this.props.activeSection === 'incoming-hooks') {
|
||||
inputs.push(
|
||||
<ManageIncomingHooks key='incoming-hook-ui' />
|
||||
<ManageIncomingHooks key='incoming-hook-ui'/>
|
||||
);
|
||||
|
||||
incomingHooksSection = (
|
||||
@@ -88,7 +88,7 @@ class UserSettingsIntegrationsTab extends React.Component {
|
||||
if (global.window.mm_config.EnableOutgoingWebhooks === 'true') {
|
||||
if (this.props.activeSection === 'outgoing-hooks') {
|
||||
inputs.push(
|
||||
<ManageOutgoingHooks key='outgoing-hook-ui' />
|
||||
<ManageOutgoingHooks key='outgoing-hook-ui'/>
|
||||
);
|
||||
|
||||
outgoingHooksSection = (
|
||||
@@ -119,7 +119,7 @@ class UserSettingsIntegrationsTab extends React.Component {
|
||||
if (global.window.mm_config.EnableCommands === 'true') {
|
||||
if (this.props.activeSection === 'command-hooks') {
|
||||
inputs.push(
|
||||
<ManageCommandHooks key='command-hook-ui' />
|
||||
<ManageCommandHooks key='command-hook-ui'/>
|
||||
);
|
||||
|
||||
commandHooksSection = (
|
||||
|
||||
@@ -111,12 +111,13 @@ class UserSettingsModal extends React.Component {
|
||||
this.afterConfirm = () => this.handleHide();
|
||||
this.showConfirmModal();
|
||||
|
||||
return false;
|
||||
return;
|
||||
}
|
||||
|
||||
this.resetTheme();
|
||||
this.deactivateTab();
|
||||
this.props.onModalDismissed();
|
||||
return;
|
||||
}
|
||||
|
||||
// called after the dialog is fully hidden and faded out
|
||||
@@ -295,7 +296,12 @@ class UserSettingsModal extends React.Component {
|
||||
closeModal={this.closeModal}
|
||||
collapseModal={this.collapseModal}
|
||||
setEnforceFocus={(enforceFocus) => this.setState({enforceFocus})}
|
||||
setRequireConfirm={(requireConfirm) => this.requireConfirm = requireConfirm}
|
||||
setRequireConfirm={
|
||||
(requireConfirm) => {
|
||||
this.requireConfirm = requireConfirm;
|
||||
return;
|
||||
}
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -445,7 +445,7 @@ class NotificationsTab extends React.Component {
|
||||
title={formatMessage(holders.desktopSounds)}
|
||||
describe={describe}
|
||||
updateSection={handleUpdateSoundSection}
|
||||
disableOpen = {!this.state.soundNeeded}
|
||||
disableOpen={!this.state.soundNeeded}
|
||||
/>
|
||||
);
|
||||
}
|
||||
@@ -826,4 +826,4 @@ NotificationsTab.propTypes = {
|
||||
collapseModal: React.PropTypes.func.isRequired
|
||||
};
|
||||
|
||||
export default injectIntl(NotificationsTab);
|
||||
export default injectIntl(NotificationsTab);
|
||||
|
||||
Ссылка в новой задаче
Block a user