quell some console noise
authorGalen Charlton <gmc@equinoxinitiative.org>
Mon, 17 Aug 2020 20:45:34 +0000 (16:45 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Mon, 17 Aug 2020 20:45:34 +0000 (16:45 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/staff/acq/provider/provider-details.component.ts

index fbcae5c..89aa6ef 100644 (file)
@@ -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