mirror of
https://github.com/apache/superset.git
synced 2026-05-12 03:15:55 +00:00
Re-enable rule line-between-class-members (#10862)
This commit is contained in:
committed by
GitHub
parent
91b8c8afc9
commit
e28f3d6220
@@ -90,6 +90,7 @@ export class DisplayQueryButton extends React.PureComponent {
|
||||
this.openPropertiesModal = this.openPropertiesModal.bind(this);
|
||||
this.closePropertiesModal = this.closePropertiesModal.bind(this);
|
||||
}
|
||||
|
||||
beforeOpen(resultType) {
|
||||
this.setState({ isLoading: true });
|
||||
|
||||
@@ -118,18 +119,23 @@ export class DisplayQueryButton extends React.PureComponent {
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
changeFilterText(event) {
|
||||
this.setState({ filterText: event.target.value });
|
||||
}
|
||||
|
||||
redirectSQLLab() {
|
||||
this.props.onOpenInEditor(this.props.latestQueryFormData);
|
||||
}
|
||||
|
||||
openPropertiesModal() {
|
||||
this.setState({ isPropertiesModalOpen: true });
|
||||
}
|
||||
|
||||
closePropertiesModal() {
|
||||
this.setState({ isPropertiesModalOpen: false });
|
||||
}
|
||||
|
||||
renderQueryModalBody() {
|
||||
if (this.state.isLoading) {
|
||||
return <Loading />;
|
||||
@@ -157,6 +163,7 @@ export class DisplayQueryButton extends React.PureComponent {
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
renderResultsModalBody() {
|
||||
if (this.state.isLoading) {
|
||||
return <Loading />;
|
||||
@@ -172,6 +179,7 @@ export class DisplayQueryButton extends React.PureComponent {
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
renderDataTable(data) {
|
||||
return (
|
||||
<div style={{ overflow: 'auto' }}>
|
||||
@@ -213,6 +221,7 @@ export class DisplayQueryButton extends React.PureComponent {
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
renderSamplesModalBody() {
|
||||
if (this.state.isLoading) {
|
||||
return <Loading />;
|
||||
@@ -225,6 +234,7 @@ export class DisplayQueryButton extends React.PureComponent {
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
render() {
|
||||
const { animation, chartHeight, slice } = this.props;
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user