mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
[hotfix] slice page is broken
This commit is contained in:
parent
b6f4062874
commit
153667505f
@ -188,7 +188,9 @@ class Slice(Model, AuditMixinNullable):
|
|||||||
|
|
||||||
@renders('datasource_name')
|
@renders('datasource_name')
|
||||||
def datasource_link(self):
|
def datasource_link(self):
|
||||||
return self.datasource.link
|
datasource = self.datasource
|
||||||
|
if datasource:
|
||||||
|
return self.datasource.link
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def datasource_edit_url(self):
|
def datasource_edit_url(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user