changed cargoSurety cargoPolicyNo bondSurety to optional, getCargoSuretys shows same entries as Bond
This commit is contained in:
parent
ffe8404bfa
commit
96b1285124
@ -96,9 +96,9 @@ export class BasicDetailsComponent implements OnInit, OnDestroy {
|
||||
zip: ['', [Validators.required, ZipCodeValidator('country')]],
|
||||
issuingRegion: ['', Validators.required],
|
||||
replacementRegion: ['', Validators.required],
|
||||
cargoSurety: ['', Validators.required],
|
||||
cargoPolicyNo: ['', Validators.required],
|
||||
bondSurety: ['', Validators.required]
|
||||
cargoSurety: [''],
|
||||
cargoPolicyNo: [''],
|
||||
bondSurety: ['']
|
||||
});
|
||||
}
|
||||
|
||||
@ -170,7 +170,7 @@ export class BasicDetailsComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
loadCargoSuretys(): void {
|
||||
this.commonService.getCargoSuretys()
|
||||
this.commonService.getBondSuretys()
|
||||
.pipe(takeUntil(this.destroy$))
|
||||
.subscribe({
|
||||
next: (cargoSuretys) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user