0
sophoana created
Hi Support
I want to submit two module only time. but I used only function. And than it alert message on point "/** 2. function submit */".
My code:
save(): void {
this.saving = true;
/** 1. function submit */
this._customerServiceProxy.createCustomers(this.customer)
.pipe(finalize(() => this.saving = false))
.subscribe(() => {
/** 2. function submit */
this._defaultSettingServiceProxy.createOrEditDefaultSettingByName(this.defaultSettingSaleCode)
.pipe(finalize(() => this.saving = false))
.subscribe(() => {this.modalSave.emit(null);})
this.notify.info(this.l('SavedSuccessfully'));
this.close();
this.modalSave.emit(null);
});
}
-Errow message