mirror of
https://github.com/apache/superset.git
synced 2026-04-27 12:05:24 +00:00
Re-enable rule line-between-class-members (#10862)
This commit is contained in:
committed by
GitHub
parent
91b8c8afc9
commit
e28f3d6220
@@ -56,9 +56,11 @@ export default class TemplateParamsEditor extends React.Component {
|
||||
};
|
||||
this.onChange = this.onChange.bind(this);
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
this.onChange(this.state.codeText);
|
||||
}
|
||||
|
||||
onChange(value) {
|
||||
const codeText = value;
|
||||
let isValid;
|
||||
@@ -75,6 +77,7 @@ export default class TemplateParamsEditor extends React.Component {
|
||||
this.props.onChange(newValue);
|
||||
}
|
||||
}
|
||||
|
||||
renderDoc() {
|
||||
return (
|
||||
<p>
|
||||
@@ -96,6 +99,7 @@ export default class TemplateParamsEditor extends React.Component {
|
||||
</p>
|
||||
);
|
||||
}
|
||||
|
||||
renderModalBody() {
|
||||
return (
|
||||
<div>
|
||||
@@ -115,6 +119,7 @@ export default class TemplateParamsEditor extends React.Component {
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
render() {
|
||||
const paramCount = this.state.parsedJSON
|
||||
? Object.keys(this.state.parsedJSON).length
|
||||
|
||||
Reference in New Issue
Block a user