Skip to content

Commit

Permalink
properly handle repositories without dois. #501
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Jan 20, 2021
1 parent 57e8fa5 commit 791d31d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/templates/providers/show/dois.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{#if model.dois}}
{{#if model}}
<DoiList
@model={{model.dois}}
@link="providers.show.dois"
Expand Down
2 changes: 1 addition & 1 deletion app/templates/repositories/show/dois/index.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{#if model.dois}}
{{#if model}}
<DoiList
@model={{model.dois}}
@repository={{model.repository}}
Expand Down
2 changes: 1 addition & 1 deletion app/templates/users/show/dois.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{#if model.dois}}
{{#if model}}
<DoiList
@model={{model.dois}}
@data={{model}}
Expand Down

0 comments on commit 791d31d

Please sign in to comment.