aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/my-account
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/my-account')
-rw-r--r--client/src/app/my-account/my-account-settings/my-account-settings.component.html2
-rw-r--r--client/src/app/my-account/my-account-settings/my-account-settings.component.ts4
2 files changed, 1 insertions, 5 deletions
diff --git a/client/src/app/my-account/my-account-settings/my-account-settings.component.html b/client/src/app/my-account/my-account-settings/my-account-settings.component.html
index 7ae27dc75..e11d93c01 100644
--- a/client/src/app/my-account/my-account-settings/my-account-settings.component.html
+++ b/client/src/app/my-account/my-account-settings/my-account-settings.component.html
@@ -1,5 +1,5 @@
1<div class="user"> 1<div class="user">
2 <img [src]="getAvatarUrl()" alt="Avatar" /> 2 <img [src]="user.accountAvatarUrl" alt="Avatar" />
3 3
4 <div class="user-info"> 4 <div class="user-info">
5 <div class="user-info-username">{{ user.username }}</div> 5 <div class="user-info-username">{{ user.username }}</div>
diff --git a/client/src/app/my-account/my-account-settings/my-account-settings.component.ts b/client/src/app/my-account/my-account-settings/my-account-settings.component.ts
index 91420cc6f..06d1138e7 100644
--- a/client/src/app/my-account/my-account-settings/my-account-settings.component.ts
+++ b/client/src/app/my-account/my-account-settings/my-account-settings.component.ts
@@ -42,10 +42,6 @@ export class MyAccountSettingsComponent implements OnInit {
42 .subscribe(data => this.userVideoQuotaUsed = data.videoQuotaUsed) 42 .subscribe(data => this.userVideoQuotaUsed = data.videoQuotaUsed)
43 } 43 }
44 44
45 getAvatarUrl () {
46 return this.user.getAvatarUrl()
47 }
48
49 changeAvatar () { 45 changeAvatar () {
50 const avatarfile = this.avatarfileInput.nativeElement.files[ 0 ] 46 const avatarfile = this.avatarfileInput.nativeElement.files[ 0 ]
51 47