Skip to content

Commit

Permalink
[hotfix] slice page is broken
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Sep 26, 2016
1 parent b6f4062 commit 1536675
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion caravel/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,9 @@ def get_datasource(self):

@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):
Expand Down

0 comments on commit 1536675

Please sign in to comment.