This commit is contained in:
Park Byung Eun 2022-08-24 12:42:43 +00:00
parent 9a7eaba5fc
commit f49e8a1fb7

View File

@ -510,11 +510,14 @@ export class ViewComponent implements OnInit, AfterViewInit, OnDestroy {
this._memberService
.updateMemberForPassword(req)
.then((result) => {
this.changePasswordResultShowAlert = true;
this.alertConfig = {
type: 'success',
message: '비밀번호가 수정 되었습니다.',
};
this.changePasswordResultShowAlert = true;
this._changeDetectorRef.markForCheck();
})
.catch((reson) => {
this.changePasswordResultShowAlert = true;
@ -523,6 +526,7 @@ export class ViewComponent implements OnInit, AfterViewInit, OnDestroy {
type: 'error',
message: '패스워드 변경이 실패하였습니다.',
};
this._changeDetectorRef.markForCheck();
})
.finally(() => this.closeChangePasswordAlert());
}