Commits

Giuseppe Digilio authored 40cb6a18bea
[CST-9636] Add flag to show or not thumbnail along list element by component's input firstly
No tags

src/app/entity-groups/journal-entities/item-list-elements/search-result-list-elements/journal/journal-search-result-list-element.component.ts

Modified
7 7 @Component({
8 8 selector: 'ds-journal-search-result-list-element',
9 9 styleUrls: ['./journal-search-result-list-element.component.scss'],
10 10 templateUrl: './journal-search-result-list-element.component.html'
11 11 })
12 12 /**
13 13 * The component for displaying a list element for an item search result of the type Journal
14 14 */
15 15 export class JournalSearchResultListElementComponent extends ItemSearchResultListElementComponent {
16 16
17 - /**
18 - * Display thumbnails if required by configuration
19 - */
20 - showThumbnails: boolean;
21 -
22 - ngOnInit(): void {
23 - super.ngOnInit();
24 - this.showThumbnails = this.appConfig.browseBy.showThumbnails;
25 - }
26 -
27 17 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut