Re-enable rule line-between-class-members (#10862)

This commit is contained in:
Kamil Gabryjelski
2020-09-15 00:41:32 +02:00
committed by GitHub
parent 91b8c8afc9
commit e28f3d6220
53 changed files with 277 additions and 3 deletions

View File

@@ -283,12 +283,14 @@ class ExploreViewContainer extends React.Component {
toggleModal() {
this.setState({ showModal: !this.state.showModal });
}
hasErrors() {
const ctrls = this.props.controls;
return Object.keys(ctrls).some(
k => ctrls[k].validationErrors && ctrls[k].validationErrors.length > 0,
);
}
renderErrorMessage() {
// Returns an error message as a node if any errors are in the store
const errors = [];
@@ -311,6 +313,7 @@ class ExploreViewContainer extends React.Component {
}
return errorMessage;
}
renderChartContainer() {
return (
<ExploreChartPanel