diff --git a/src/app/modules/admin/member/user/components/view.component.ts b/src/app/modules/admin/member/user/components/view.component.ts index 0f056e2..1e143bc 100644 --- a/src/app/modules/admin/member/user/components/view.component.ts +++ b/src/app/modules/admin/member/user/components/view.component.ts @@ -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()); }