Skip to content

Commit

Permalink
fix: sync columns in explore page (apache#16042)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyongjie authored Aug 3, 2021
1 parent 0462252 commit 430ebe1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions superset-frontend/src/datasource/DatasourceEditor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -487,9 +487,9 @@ class DatasourceEditor extends React.PureComponent {
const { datasource } = this.state;
const endpoint = `/datasource/external_metadata_by_name/${
datasource.type || datasource.datasource_type
}/${datasource.database.database_name}/${datasource.schema}/${
datasource.table_name
}/`;
}/${datasource.database.database_name || datasource.database.name}/${
datasource.schema
}/${datasource.table_name}/`;
this.setState({ metadataLoading: true });

SupersetClient.get({ endpoint })
Expand Down

0 comments on commit 430ebe1

Please sign in to comment.