Skip to content

Commit

Permalink
Fix bug where link in doi section would not update
Browse files Browse the repository at this point in the history
  • Loading branch information
futa-ikeda committed Jan 3, 2025
1 parent 5877c2f commit 0d80879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/preprints/-components/preprint-doi/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
data-test-view-version-link
data-analytics-name='View version link'
@route='preprints.detail'
@model={{this.selectedVersion}}
@models={{array @provider.id this.selectedVersion.id}}
>
{{t 'preprints.detail.view_version' number=this.selectedVersion.version}}
</OsfLink>
Expand Down

0 comments on commit 0d80879

Please sign in to comment.