Fix incomplete doc type clicking for large cards

This commit is contained in:
Michael Shamoon 2021-03-12 07:21:00 -08:00
parent e71d055ef2
commit 6a58bd30ad
2 changed files with 4 additions and 1 deletions

View File

@ -39,6 +39,9 @@ export class DocumentCardLargeComponent implements OnInit {
@Output() @Output()
clickCorrespondent = new EventEmitter<number>() clickCorrespondent = new EventEmitter<number>()
@Output()
clickDocumentType = new EventEmitter<number>()
@Input() @Input()
searchScore: number searchScore: number

View File

@ -90,7 +90,7 @@
</div> </div>
<div *ngIf="displayMode == 'largeCards'"> <div *ngIf="displayMode == 'largeCards'">
<app-document-card-large [selected]="list.isSelected(d)" (toggleSelected)="toggleSelected(d, $event)" *ngFor="let d of list.documents; trackBy: trackByDocumentId" [document]="d" [details]="d.content" (clickTag)="clickTag($event)" (clickCorrespondent)="clickCorrespondent($event)"> <app-document-card-large [selected]="list.isSelected(d)" (toggleSelected)="toggleSelected(d, $event)" *ngFor="let d of list.documents; trackBy: trackByDocumentId" [document]="d" [details]="d.content" (clickTag)="clickTag($event)" (clickCorrespondent)="clickCorrespondent($event)" (clickDocumentType)="clickDocumentType($event)">
</app-document-card-large> </app-document-card-large>
</div> </div>