diff --git a/src/app/item-page/cris-item-page-tab.resolver.ts b/src/app/item-page/cris-item-page-tab.resolver.ts index 4523c9d918e..5efc7d311f3 100644 --- a/src/app/item-page/cris-item-page-tab.resolver.ts +++ b/src/app/item-page/cris-item-page-tab.resolver.ts @@ -45,7 +45,7 @@ export class CrisItemPageTabResolver implements Resolve `/${tab.shortname}` === urlSplit[1])) { + if (!!tabsRD.payload && !!tabsRD.payload.page && tabsRD.payload.page.length > 0 && !urlSplit[1]) { const selectedTab = tabsRD.payload.page.filter((tab) => !tab.leading)[0]; if (!!selectedTab) { let tabName = selectedTab.shortname;