[CST-9636] Add flag to show or not thumbnail along list element by component's input firstly

This commit is contained in:
Giuseppe Digilio
2022-11-22 14:59:40 +01:00
parent 301863fb80
commit 40cb6a18be
24 changed files with 75 additions and 87 deletions

View File

@@ -1,11 +1,12 @@
import { combineLatest as observableCombineLatest, BehaviorSubject, Observable } from 'rxjs';
import { BehaviorSubject, combineLatest as observableCombineLatest, Observable } from 'rxjs';
import { startWith, distinctUntilChanged, map } from 'rxjs/operators';
import { distinctUntilChanged, map, startWith } from 'rxjs/operators';
import {
ChangeDetectionStrategy,
Component,
EventEmitter,
Input, OnInit,
Input,
OnInit,
Output,
ViewEncapsulation
} from '@angular/core';
@@ -54,6 +55,11 @@ export class ObjectGridComponent implements OnInit {
*/
@Input() showPaginator = true;
/**
* Whether to show the thumbnail preview
*/
@Input() showThumbnails;
/**
* The whether or not the gear is hidden
*/