diff --git a/superset-frontend/.eslintrc.js b/superset-frontend/.eslintrc.js index b40dabed8..b2409093a 100644 --- a/superset-frontend/.eslintrc.js +++ b/superset-frontend/.eslintrc.js @@ -76,7 +76,6 @@ module.exports = { indent: 0, 'jsx-a11y/anchor-has-content': 0, 'jsx-a11y/href-no-hash': 0, - 'jsx-a11y/no-static-element-interactions': 0, 'new-cap': 0, 'no-bitwise': 0, 'no-confusing-arrow': 0, @@ -136,7 +135,6 @@ module.exports = { indent: 0, 'jsx-a11y/anchor-has-content': 0, 'jsx-a11y/href-no-hash': 0, - 'jsx-a11y/no-static-element-interactions': 0, 'new-cap': 0, 'no-bitwise': 0, 'no-confusing-arrow': 0, diff --git a/superset-frontend/src/CRUD/CollectionTable.jsx b/superset-frontend/src/CRUD/CollectionTable.jsx index 74c62277c..848d26366 100644 --- a/superset-frontend/src/CRUD/CollectionTable.jsx +++ b/superset-frontend/src/CRUD/CollectionTable.jsx @@ -183,6 +183,8 @@ export default class CRUDCollection extends React.PureComponent { tds.push( diff --git a/superset-frontend/src/SqlLab/components/TableElement.jsx b/superset-frontend/src/SqlLab/components/TableElement.jsx index 588461167..31d7dee85 100644 --- a/superset-frontend/src/SqlLab/components/TableElement.jsx +++ b/superset-frontend/src/SqlLab/components/TableElement.jsx @@ -212,6 +212,8 @@ class TableElement extends React.PureComponent { {this.renderControls()} )} { this.toggleTable(e); }} diff --git a/superset-frontend/src/components/Checkbox.jsx b/superset-frontend/src/components/Checkbox.jsx index d068488f6..72d43848a 100644 --- a/superset-frontend/src/components/Checkbox.jsx +++ b/superset-frontend/src/components/Checkbox.jsx @@ -29,6 +29,8 @@ export default function Checkbox({ checked, onChange, style }) { return ( - + {this.props.copyNode} diff --git a/superset-frontend/src/components/PopoverSection.jsx b/superset-frontend/src/components/PopoverSection.jsx index 8c19f4b2b..8590b19ac 100644 --- a/superset-frontend/src/components/PopoverSection.jsx +++ b/superset-frontend/src/components/PopoverSection.jsx @@ -37,7 +37,7 @@ export default function PopoverSection({ }) { return (
-
+
{title}   {info && ( diff --git a/superset-frontend/src/components/RefreshLabel.jsx b/superset-frontend/src/components/RefreshLabel.jsx index 87c852d65..bbf89a218 100644 --- a/superset-frontend/src/components/RefreshLabel.jsx +++ b/superset-frontend/src/components/RefreshLabel.jsx @@ -32,6 +32,8 @@ class RefreshLabel extends React.PureComponent { return ( diff --git a/superset-frontend/src/explore/components/AdhocFilterEditPopover.jsx b/superset-frontend/src/explore/components/AdhocFilterEditPopover.jsx index c80834652..7fc48b682 100644 --- a/superset-frontend/src/explore/components/AdhocFilterEditPopover.jsx +++ b/superset-frontend/src/explore/components/AdhocFilterEditPopover.jsx @@ -183,6 +183,8 @@ export default class AdhocFilterEditPopover extends React.Component { Close diff --git a/superset-frontend/src/explore/components/AdhocMetricEditPopover.jsx b/superset-frontend/src/explore/components/AdhocMetricEditPopover.jsx index ad0c8338d..d12f31ef1 100644 --- a/superset-frontend/src/explore/components/AdhocMetricEditPopover.jsx +++ b/superset-frontend/src/explore/components/AdhocMetricEditPopover.jsx @@ -317,6 +317,8 @@ export default class AdhocMetricEditPopover extends React.Component { Close diff --git a/superset-frontend/src/explore/components/ControlHeader.jsx b/superset-frontend/src/explore/components/ControlHeader.jsx index 55da03603..60dfd53fb 100644 --- a/superset-frontend/src/explore/components/ControlHeader.jsx +++ b/superset-frontend/src/explore/components/ControlHeader.jsx @@ -86,6 +86,8 @@ export default class ControlHeader extends React.Component { {this.props.leftNode && {this.props.leftNode}} - {label}{' '} + + {label} + {' '} {description && ( )} @@ -64,6 +66,8 @@ export default class ControlPanelSection extends React.Component { )} {this.props.alert} {this.state.alert ? this.state.alert : this.props.alert}