mirror of
https://github.com/apache/superset.git
synced 2026-05-08 01:15:46 +00:00
Linted all, refactored VisualizeModal out
This commit is contained in:
@@ -12,10 +12,9 @@ import 'react-select/dist/react-select.css';
|
||||
class TableWorkspaceElement extends React.Component {
|
||||
selectStar() {
|
||||
let cols = '';
|
||||
const that = this;
|
||||
this.props.table.columns.forEach(function (col, i) {
|
||||
this.props.table.columns.forEach((col, i) => {
|
||||
cols += col.name;
|
||||
if (i < that.props.table.columns.length - 1) {
|
||||
if (i < this.props.table.columns.length - 1) {
|
||||
cols += ', ';
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user