mirror of https://github.com/apache/superset.git
fix: chart datasource explore URL showing datasource name for druid (#9839)
This commit is contained in:
parent
a262ea7487
commit
61ebb9bbc4
|
@ -133,7 +133,7 @@ class Slice(
|
||||||
if self.table:
|
if self.table:
|
||||||
return self.table.explore_url
|
return self.table.explore_url
|
||||||
datasource = self.datasource
|
datasource = self.datasource
|
||||||
return datasource.name if datasource else None
|
return datasource.explore_url if datasource else None
|
||||||
|
|
||||||
def datasource_name_text(self) -> Optional[str]:
|
def datasource_name_text(self) -> Optional[str]:
|
||||||
# pylint: disable=no-member
|
# pylint: disable=no-member
|
||||||
|
|
Loading…
Reference in New Issue