diff --git a/src/app/explore-page/explore-page.component.spec.ts b/src/app/explore-page/explore-page.component.spec.ts index 864b327ec89..a70e4787b62 100644 --- a/src/app/explore-page/explore-page.component.spec.ts +++ b/src/app/explore-page/explore-page.component.spec.ts @@ -35,7 +35,8 @@ describe('ExploreComponent', () => { order: 'desc', sortField: 'dc.date.accessioned', numberOfItems: 5, - titleKey: 'lastPublications' + titleKey: 'lastPublications', + showThumbnails: false, }; const searchComponent: SearchSection = { diff --git a/src/app/home-page/home-page-routing.module.ts b/src/app/home-page/home-page-routing.module.ts index 93ce488109f..ec76bf4ba83 100644 --- a/src/app/home-page/home-page-routing.module.ts +++ b/src/app/home-page/home-page-routing.module.ts @@ -2,9 +2,7 @@ import { NgModule } from '@angular/core'; import { RouterModule } from '@angular/router'; import { HomePageResolver } from './home-page.resolver'; -import { LinkMenuItemModel } from '../shared/menu/menu-item/models/link.model'; import { ThemedHomePageComponent } from './themed-home-page.component'; -import { MenuItemType } from '../shared/menu/menu-item-type.model'; @NgModule({ imports: [ @@ -16,17 +14,7 @@ import { MenuItemType } from '../shared/menu/menu-item-type.model'; data: { title: 'home.title', menu: { - public: [{ - id: 'statistics_site', - active: true, - visible: false, - index: 2, - model: { - type: MenuItemType.LINK, - text: 'menu.section.statistics', - link: 'statistics', - } as LinkMenuItemModel, - }], + public: [], }, showSocialButtons: true }, resolve: { diff --git a/src/app/shared/explore/section-component/top-section/top-section.component.spec.ts b/src/app/shared/explore/section-component/top-section/top-section.component.spec.ts index 50d31e5089d..a77ceb6bb07 100644 --- a/src/app/shared/explore/section-component/top-section/top-section.component.spec.ts +++ b/src/app/shared/explore/section-component/top-section/top-section.component.spec.ts @@ -82,7 +82,8 @@ describe('TopSectionComponent', () => { order: 'desc', sortField: 'dc.date.accessioned', numberOfItems: 5, - titleKey: undefined + titleKey: undefined, + showThumbnails: false, }; fixture.detectChanges(); @@ -121,7 +122,8 @@ describe('TopSectionComponent', () => { order: 'desc', sortField: 'dc.date.foo', numberOfItems: 5, - titleKey: 'lastPublications' + titleKey: 'lastPublications', + showThumbnails: false, }; fixture.detectChanges();