Skip to content

Commit

Permalink
[B] Add guard in resource breadcrumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
1aurend committed Dec 19, 2024
1 parent 527782e commit 171fcb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/backend/containers/resource/breadcrumbs.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const getBreadcrumbs = (resource, project, belongsToJournalIssue, t) => {
}
];

return belongsToJournalIssue
return belongsToJournalIssue && project.relationships.journal
? [
{
to: lh.link("backendJournals"),
Expand Down

0 comments on commit 171fcb6

Please sign in to comment.