default to valid == true when creating new provider addresses
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 25 Mar 2020 14:48:20 +0000 (10:48 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 25 Mar 2020 14:48:20 +0000 (10:48 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/staff/acq/provider/provider-addresses.component.ts

index ece3ecb..700d242 100644 (file)
@@ -154,6 +154,7 @@ export class ProviderAddressesComponent implements OnInit, AfterViewInit {
         this.editDialog.mode = 'create';
         const address = this.idl.create('acqpa');
         address.provider(this.provider.id());
+        address.valid(true);
         this.editDialog.record = address;
         this.editDialog.recordId = null;
         this.editDialog.open({size: this.dialogSize}).subscribe(