more like this searching

This commit is contained in:
jonaswinkler
2020-12-17 21:36:21 +01:00
parent 9d88e3ee07
commit 29c094e407
10 changed files with 113 additions and 27 deletions

View File

@@ -24,6 +24,19 @@ export class DocumentCardLargeComponent implements OnInit {
@Output()
clickCorrespondent = new EventEmitter<number>()
@Input()
searchScore: number
get searchScoreClass() {
if (this.searchScore > 0.7) {
return "success"
} else if (this.searchScore > 0.3) {
return "warning"
} else {
return "danger"
}
}
ngOnInit(): void {
}