Commit 246a37c1 authored by Jérémy Destin's avatar Jérémy Destin Committed by Célia Michotey
Browse files

fix: Fix germplasm card's bug about test before display. Rebase on the last...

fix: Fix germplasm card's bug about test before display. Rebase on the last version of master. Minor fixes GNP-5490
parent b88a3503
......@@ -125,8 +125,8 @@ export class GermplasmCardComponent implements OnInit {
}
testCollectorInstituteFields() {
return (
this.germplasmGnpis.collector.germplasmPUI
return (this.germplasmGnpis.collector) &&
(this.germplasmGnpis.collector.germplasmPUI
|| this.germplasmGnpis.collector.accessionNumber
|| this.germplasmGnpis.collector.accessionCreationDate
|| this.germplasmGnpis.collector.materialType
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment