From: Galen Charlton Date: Mon, 17 Aug 2020 20:45:34 +0000 (-0400) Subject: quell some console noise X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9cb7aef687a3a21f207da30fc5db853577c82d08;p=working%2FEvergreen.git quell some console noise Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/eg2/src/app/staff/acq/provider/provider-details.component.ts b/Open-ILS/src/eg2/src/app/staff/acq/provider/provider-details.component.ts index fbcae5c0a6..89aa6ef7c7 100644 --- a/Open-ILS/src/eg2/src/app/staff/acq/provider/provider-details.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/acq/provider/provider-details.component.ts @@ -42,6 +42,9 @@ export class ProviderDetailsComponent implements OnInit { } _deflesh() { + if (!this.provider) { + return; + } // unflesh the currency type and edi_default fields so that the // record editor can display them // TODO: make fm-editor be able to handle fleshed linked fields