Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- createProcessingDataFamily(body: any) {
- this.slimLoadingBarSvc.start();
- this.onSubmitRequest = true;
- this.personalSvc.createDataFamily(body).subscribe(
- (response) => {
- this.slimLoadingBarSvc.complete();
- this.onSubmitRequest = false;
- if (response) {
- this.coreSvc.growl(
- NOTIFICATION_TYPE.SUCCESS,
- response.info,
- () => { this.location.back(); },
- 2000
- );
- }
- },
- (err: HttpErrorResponse) => {
- this.slimLoadingBarSvc.complete();
- this.onSubmitRequest = false;
- }
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement