Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dspace-cris-7' into dspace-cris-7
Browse files Browse the repository at this point in the history
  • Loading branch information
atarix83 committed Nov 13, 2023
2 parents cbd6200 + aa198a7 commit 02df4d7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 16 deletions.
3 changes: 2 additions & 1 deletion src/app/explore-page/explore-page.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ describe('ExploreComponent', () => {
order: 'desc',
sortField: 'dc.date.accessioned',
numberOfItems: 5,
titleKey: 'lastPublications'
titleKey: 'lastPublications',
showThumbnails: false,
};

const searchComponent: SearchSection = {
Expand Down
14 changes: 1 addition & 13 deletions src/app/home-page/home-page-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand All @@ -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: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ describe('TopSectionComponent', () => {
order: 'desc',
sortField: 'dc.date.accessioned',
numberOfItems: 5,
titleKey: undefined
titleKey: undefined,
showThumbnails: false,
};

fixture.detectChanges();
Expand Down Expand Up @@ -121,7 +122,8 @@ describe('TopSectionComponent', () => {
order: 'desc',
sortField: 'dc.date.foo',
numberOfItems: 5,
titleKey: 'lastPublications'
titleKey: 'lastPublications',
showThumbnails: false,
};

fixture.detectChanges();
Expand Down

0 comments on commit 02df4d7

Please sign in to comment.