Merge pull request #913 from atmire/fix-item-grid-shadows

Fix grid search result shadows
This commit is contained in:
Tim Donohue
2020-10-23 16:42:57 -05:00
committed by GitHub
2 changed files with 5 additions and 4 deletions

View File

@@ -32,9 +32,6 @@ export class SearchResultGridElementComponent<T extends SearchResult<K>, K exten
protected bitstreamDataService: BitstreamDataService
) {
super();
if (hasValue(this.object)) {
this.isCollapsed$ = this.isCollapsed();
}
}
/**
@@ -43,6 +40,7 @@ export class SearchResultGridElementComponent<T extends SearchResult<K>, K exten
ngOnInit(): void {
if (hasValue(this.object)) {
this.dso = this.object.indexableObject;
this.isCollapsed$ = this.isCollapsed();
}
}