From d97ce1583734a41d1489ce31badaeb07f7ef5011 Mon Sep 17 00:00:00 2001 From: taminif Date: Wed, 22 May 2019 17:10:16 +0900 Subject: [PATCH] refactor format semi-colon (#3812) --- client/app/components/HelpTrigger.jsx | 4 ++-- client/app/components/dynamic-form/DynamicForm.jsx | 6 +++--- client/app/pages/dashboards/ShareDashboardDialog.jsx | 6 +++--- client/app/pages/data-sources/EditDataSource.jsx | 2 +- client/app/pages/destinations/EditDestination.jsx | 2 +- client/app/pages/settings/OrganizationSettings.jsx | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/client/app/components/HelpTrigger.jsx b/client/app/components/HelpTrigger.jsx index 0fca3b88fa..4fc6c8eba7 100644 --- a/client/app/components/HelpTrigger.jsx +++ b/client/app/components/HelpTrigger.jsx @@ -76,9 +76,9 @@ export class HelpTrigger extends React.Component { children: , }; - iframeRef = null + iframeRef = null; - iframeLoadingTimeout = null + iframeLoadingTimeout = null; constructor(props) { super(props); diff --git a/client/app/components/dynamic-form/DynamicForm.jsx b/client/app/components/dynamic-form/DynamicForm.jsx index 79d1fab5db..b0ab61b1b0 100644 --- a/client/app/components/dynamic-form/DynamicForm.jsx +++ b/client/app/components/dynamic-form/DynamicForm.jsx @@ -94,7 +94,7 @@ class DynamicForm extends React.Component { ); } else this.setState({ isSubmitting: false }); }); - } + }; handleAction = (e) => { const actionName = e.target.dataset.action; @@ -103,7 +103,7 @@ class DynamicForm extends React.Component { this.actionCallbacks[actionName](() => { this.setActionInProgress(actionName, false); }); - } + }; base64File = (fieldName, e) => { if (e && e.fileList[0]) { @@ -111,7 +111,7 @@ class DynamicForm extends React.Component { this.props.form.setFieldsValue({ [fieldName]: value }); }); } - } + }; renderUpload(field, props) { const { getFieldDecorator, getFieldValue } = this.props.form; diff --git a/client/app/pages/dashboards/ShareDashboardDialog.jsx b/client/app/pages/dashboards/ShareDashboardDialog.jsx index 7d1b8cb1d5..96ee577f3a 100644 --- a/client/app/pages/dashboards/ShareDashboardDialog.jsx +++ b/client/app/pages/dashboards/ShareDashboardDialog.jsx @@ -24,7 +24,7 @@ class ShareDashboardDialog extends React.Component { labelCol: { span: 8 }, wrapperCol: { span: 16 }, style: { marginBottom: 7 }, - } + }; constructor(props) { super(props); @@ -66,7 +66,7 @@ class ShareDashboardDialog extends React.Component { .finally(() => { this.setState({ saving: false }); }); - } + }; disableAccess = () => { const { dashboard } = this.props; @@ -84,7 +84,7 @@ class ShareDashboardDialog extends React.Component { .finally(() => { this.setState({ saving: false }); }); - } + }; onChange = (checked) => { if (checked) { diff --git a/client/app/pages/data-sources/EditDataSource.jsx b/client/app/pages/data-sources/EditDataSource.jsx index 75bf14b75b..4db6045387 100644 --- a/client/app/pages/data-sources/EditDataSource.jsx +++ b/client/app/pages/data-sources/EditDataSource.jsx @@ -52,7 +52,7 @@ class EditDataSource extends React.Component { errorCallback(message); }, ); - } + }; deleteDataSource = (callback) => { const { dataSource } = this.state; diff --git a/client/app/pages/destinations/EditDestination.jsx b/client/app/pages/destinations/EditDestination.jsx index 86677d3c12..91ec92f26e 100644 --- a/client/app/pages/destinations/EditDestination.jsx +++ b/client/app/pages/destinations/EditDestination.jsx @@ -51,7 +51,7 @@ class EditDestination extends React.Component { errorCallback(message); }, ); - } + }; deleteDestination = (callback) => { const { destination } = this.state; diff --git a/client/app/pages/settings/OrganizationSettings.jsx b/client/app/pages/settings/OrganizationSettings.jsx index 51e2a034a4..a9e0ebb8a4 100644 --- a/client/app/pages/settings/OrganizationSettings.jsx +++ b/client/app/pages/settings/OrganizationSettings.jsx @@ -36,7 +36,7 @@ class OrganizationSettings extends React.Component { }); } - disablePasswordLoginToggle = () => !(clientConfig.googleLoginEnabled || this.state.formValues.auth_saml_enabled) + disablePasswordLoginToggle = () => !(clientConfig.googleLoginEnabled || this.state.formValues.auth_saml_enabled); handleSubmit = (e) => { e.preventDefault();