mirror of https://github.com/apache/superset.git
[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')
|
||||
def datasource_link(self):
|
||||
return self.datasource.link
|
||||
datasource = self.datasource
|
||||
if datasource:
|
||||
return self.datasource.link
|
||||
|
||||
@property
|
||||
def datasource_edit_url(self):
|
||||
|
|
Loading…
Reference in New Issue