From 77e40c594fb0ca38f76d487dd67e670cc24ba7bd Mon Sep 17 00:00:00 2001 From: Art Date: Wed, 22 Sep 2021 13:59:42 +0300 Subject: [PATCH] 181. Adding profile image form (#26) --- .../src/app/component/user/user.component.html | 9 ++++++++- .../src/app/component/user/user.component.ts | 8 ++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/support-portal-frontend/src/app/component/user/user.component.html b/support-portal-frontend/src/app/component/user/user.component.html index d6ec990..9cc1100 100644 --- a/support-portal-frontend/src/app/component/user/user.component.html +++ b/support-portal-frontend/src/app/component/user/user.component.html @@ -154,7 +154,7 @@ login: {{loggedInUser?.lastLoginDateDisplay | date:'medium'}}
- @@ -527,5 +527,12 @@
+ +
+ +
+ diff --git a/support-portal-frontend/src/app/component/user/user.component.ts b/support-portal-frontend/src/app/component/user/user.component.ts index ad608c6..91cd098 100644 --- a/support-portal-frontend/src/app/component/user/user.component.ts +++ b/support-portal-frontend/src/app/component/user/user.component.ts @@ -228,4 +228,12 @@ export class UserComponent implements OnInit, OnDestroy { this.router.navigate(['/login']); this.sendNotification(NotificationType.SUCCESS, 'You have been successfully logged out'); } + + public updateProfileImage(): void { + this.clickButton('profile-image-input'); + } + + public onUpdateProfileImage(): void { + + } }