john-bodley closed pull request #6195: [datasource] Update SQL Lab exploration
URL: https://github.com/apache/incubator-superset/pull/6195
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git
a/superset/assets/src/explore/components/controls/DatasourceControl.jsx
b/superset/assets/src/explore/components/controls/DatasourceControl.jsx
index cd5ad6b424..fcb4ba4463 100644
--- a/superset/assets/src/explore/components/controls/DatasourceControl.jsx
+++ b/superset/assets/src/explore/components/controls/DatasourceControl.jsx
@@ -127,11 +127,15 @@ class DatasourceControl extends React.PureComponent {
placement="right"
overlay={
<Tooltip id={'datasource-sqllab'}>
- {t('Run SQL queries against this datasource')}
+ {t('Explore this datasource in SQL Lab')}
</Tooltip>
}
>
- <a href={'/superset/sqllab?datasourceKey=' + this.props.value}>
+ <a
+ href={`/superset/sqllab?datasourceKey=${this.props.value}`}
+ target="_blank"
+ rel="noopener noreferrer"
+ >
<i className="fa fa-flask m-r-5" />
</a>
</OverlayTrigger>}
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]