bug fix
This commit is contained in:
parent
9a7eaba5fc
commit
f49e8a1fb7
|
@ -510,11 +510,14 @@ export class ViewComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
this._memberService
|
this._memberService
|
||||||
.updateMemberForPassword(req)
|
.updateMemberForPassword(req)
|
||||||
.then((result) => {
|
.then((result) => {
|
||||||
|
this.changePasswordResultShowAlert = true;
|
||||||
|
|
||||||
this.alertConfig = {
|
this.alertConfig = {
|
||||||
type: 'success',
|
type: 'success',
|
||||||
message: '비밀번호가 수정 되었습니다.',
|
message: '비밀번호가 수정 되었습니다.',
|
||||||
};
|
};
|
||||||
this.changePasswordResultShowAlert = true;
|
|
||||||
|
this._changeDetectorRef.markForCheck();
|
||||||
})
|
})
|
||||||
.catch((reson) => {
|
.catch((reson) => {
|
||||||
this.changePasswordResultShowAlert = true;
|
this.changePasswordResultShowAlert = true;
|
||||||
|
@ -523,6 +526,7 @@ export class ViewComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||||
type: 'error',
|
type: 'error',
|
||||||
message: '패스워드 변경이 실패하였습니다.',
|
message: '패스워드 변경이 실패하였습니다.',
|
||||||
};
|
};
|
||||||
|
this._changeDetectorRef.markForCheck();
|
||||||
})
|
})
|
||||||
.finally(() => this.closeChangePasswordAlert());
|
.finally(() => this.closeChangePasswordAlert());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user