Skip to content

Commit

Permalink
Fix More Info links
Browse files Browse the repository at this point in the history
Fix More Info links
  • Loading branch information
rushirajnenuji committed Jan 31, 2024
1 parent e3f2ccc commit 2cf8cdd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/js/views/MetadataView.js
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,8 @@ define(['jquery',
//Now show the response from the view service
viewRef.$(viewRef.metadataContainer).html(response);

viewRef.storeEntityPIDs(response);

//If there is no info from the index and there is no metadata doc rendered either, then display a message
if (viewRef.$el.is(".no-stylesheet") && viewRef.model.get("archived") && !viewRef.model.get("indexed"))
viewRef.$(viewRef.metadataContainer).prepend(viewRef.alertTemplate({ msg: "There is limited metadata about this dataset since it has been archived." }));
Expand Down

0 comments on commit 2cf8cdd

Please sign in to comment.