Skip to content

Commit

Permalink
link to instrument lid instead of lidvid because we might not have th…
Browse files Browse the repository at this point in the history
…at specific instrument
  • Loading branch information
mdrum committed Nov 21, 2024
1 parent 66efb37 commit 92821a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/Breadcrumbs.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function DatasetBreadcrumbs(props) {
} else if(!!current.instrument_ref) {
ancestors.push(new Breadcrumb("Instruments", home.identifier, "instruments"))
current.instrument_ref.length === 1 &&
ancestors.push(new Breadcrumb("Instrument", current.instrument_ref[0]))
ancestors.push(new Breadcrumb("Instrument", new LogicalIdentifier(current.instrument_ref[0]).lid))
} else {
ancestors.push(new Breadcrumb("Other Data", home.identifier, "other"))
}
Expand Down

0 comments on commit 92821a3

Please sign in to comment.