Skip to content

Commit

Permalink
refactor format semi-colon (#3812)
Browse files Browse the repository at this point in the history
  • Loading branch information
taminif authored and arikfr committed May 22, 2019
1 parent b263bb7 commit d97ce15
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions client/app/components/HelpTrigger.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ export class HelpTrigger extends React.Component {
children: <i className="fa fa-question-circle" />,
};

iframeRef = null
iframeRef = null;

iframeLoadingTimeout = null
iframeLoadingTimeout = null;

constructor(props) {
super(props);
Expand Down
6 changes: 3 additions & 3 deletions client/app/components/dynamic-form/DynamicForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class DynamicForm extends React.Component {
);
} else this.setState({ isSubmitting: false });
});
}
};

handleAction = (e) => {
const actionName = e.target.dataset.action;
Expand All @@ -103,15 +103,15 @@ class DynamicForm extends React.Component {
this.actionCallbacks[actionName](() => {
this.setActionInProgress(actionName, false);
});
}
};

base64File = (fieldName, e) => {
if (e && e.fileList[0]) {
helper.getBase64(e.file).then((value) => {
this.props.form.setFieldsValue({ [fieldName]: value });
});
}
}
};

renderUpload(field, props) {
const { getFieldDecorator, getFieldValue } = this.props.form;
Expand Down
6 changes: 3 additions & 3 deletions client/app/pages/dashboards/ShareDashboardDialog.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ShareDashboardDialog extends React.Component {
labelCol: { span: 8 },
wrapperCol: { span: 16 },
style: { marginBottom: 7 },
}
};

constructor(props) {
super(props);
Expand Down Expand Up @@ -66,7 +66,7 @@ class ShareDashboardDialog extends React.Component {
.finally(() => {
this.setState({ saving: false });
});
}
};

disableAccess = () => {
const { dashboard } = this.props;
Expand All @@ -84,7 +84,7 @@ class ShareDashboardDialog extends React.Component {
.finally(() => {
this.setState({ saving: false });
});
}
};

onChange = (checked) => {
if (checked) {
Expand Down
2 changes: 1 addition & 1 deletion client/app/pages/data-sources/EditDataSource.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class EditDataSource extends React.Component {
errorCallback(message);
},
);
}
};

deleteDataSource = (callback) => {
const { dataSource } = this.state;
Expand Down
2 changes: 1 addition & 1 deletion client/app/pages/destinations/EditDestination.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class EditDestination extends React.Component {
errorCallback(message);
},
);
}
};

deleteDestination = (callback) => {
const { destination } = this.state;
Expand Down
2 changes: 1 addition & 1 deletion client/app/pages/settings/OrganizationSettings.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit d97ce15

Please sign in to comment.