From 171fcb6d24789faa4dc06d2331ddd6f198f00d41 Mon Sep 17 00:00:00 2001 From: 1aurend Date: Thu, 19 Dec 2024 12:11:34 -0800 Subject: [PATCH] [B] Add guard in resource breadcrumbs --- client/src/backend/containers/resource/breadcrumbs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/backend/containers/resource/breadcrumbs.js b/client/src/backend/containers/resource/breadcrumbs.js index 0ddb64bc80..249391a720 100644 --- a/client/src/backend/containers/resource/breadcrumbs.js +++ b/client/src/backend/containers/resource/breadcrumbs.js @@ -24,7 +24,7 @@ export const getBreadcrumbs = (resource, project, belongsToJournalIssue, t) => { } ]; - return belongsToJournalIssue + return belongsToJournalIssue && project.relationships.journal ? [ { to: lh.link("backendJournals"),