From 0d808795ad58c417c05c4431f361f9e087f3a40e Mon Sep 17 00:00:00 2001 From: futa-ikeda Date: Fri, 3 Jan 2025 11:21:42 -0500 Subject: [PATCH] Fix bug where link in doi section would not update --- app/preprints/-components/preprint-doi/template.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/preprints/-components/preprint-doi/template.hbs b/app/preprints/-components/preprint-doi/template.hbs index 05df9f3f7e..2e4ad8cc6d 100644 --- a/app/preprints/-components/preprint-doi/template.hbs +++ b/app/preprints/-components/preprint-doi/template.hbs @@ -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}}