Skip to content

Commit

Permalink
Add missing param for RO-CRATE checking, using the dataset's opened v…
Browse files Browse the repository at this point in the history
…ersion on the files tab too
  • Loading branch information
fintanorbert committed Nov 14, 2023
1 parent 2d566b5 commit db55c28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/webapp/file.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@
<ui:param name="anonymized" value="#{FilePage.anonymizedAccess}"/>
</ui:include>
</p:tab>
<p:tab id="describoTab" title="#{bundle['dataset.describoTab']}" disabled="#{FilePage.dataset.hasJsonCrate}">
<p:tab id="describoTab" title="#{bundle['dataset.describoTab']}" disabled="#{FilePage.dataset.hasJsonCrate(FilePage.version)}">
<ui:include src="aroma.xhtml">
<ui:param name="persistentId" value="#{FilePage.datasetPersistentId}"/>
<ui:param name="userApiKey" value="#{FilePage.currentUserApiKey}"/>
Expand Down

0 comments on commit db55c28

Please sign in to comment.