diff options
Diffstat (limited to 'client/src/app/+my-account/my-account-video-channels')
2 files changed, 6 insertions, 13 deletions
diff --git a/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-update.component.ts b/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-update.component.ts index e25037e24..56697030b 100644 --- a/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-update.component.ts +++ b/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-update.component.ts | |||
@@ -78,7 +78,7 @@ export class MyAccountVideoChannelUpdateComponent extends MyAccountVideoChannelE | |||
78 | support: body.support || null | 78 | support: body.support || null |
79 | } | 79 | } |
80 | 80 | ||
81 | this.videoChannelService.updateVideoChannel(this.videoChannelToUpdate.uuid, videoChannelUpdate).subscribe( | 81 | this.videoChannelService.updateVideoChannel(this.videoChannelToUpdate.name, videoChannelUpdate).subscribe( |
82 | () => { | 82 | () => { |
83 | this.authService.refreshUserInformation() | 83 | this.authService.refreshUserInformation() |
84 | this.notificationsService.success( | 84 | this.notificationsService.success( |
@@ -93,7 +93,7 @@ export class MyAccountVideoChannelUpdateComponent extends MyAccountVideoChannelE | |||
93 | } | 93 | } |
94 | 94 | ||
95 | onAvatarChange (formData: FormData) { | 95 | onAvatarChange (formData: FormData) { |
96 | this.videoChannelService.changeVideoChannelAvatar(this.videoChannelToUpdate.uuid, formData) | 96 | this.videoChannelService.changeVideoChannelAvatar(this.videoChannelToUpdate.name, formData) |
97 | .subscribe( | 97 | .subscribe( |
98 | data => { | 98 | data => { |
99 | this.notificationsService.success(this.i18n('Success'), this.i18n('Avatar changed.')) | 99 | this.notificationsService.success(this.i18n('Success'), this.i18n('Avatar changed.')) |
diff --git a/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss b/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss index f8fd2684e..5c892be01 100644 --- a/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss +++ b/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss | |||
@@ -12,11 +12,7 @@ | |||
12 | } | 12 | } |
13 | 13 | ||
14 | .video-channel { | 14 | .video-channel { |
15 | display: flex; | 15 | @include row-blocks; |
16 | min-height: 130px; | ||
17 | padding-bottom: 20px; | ||
18 | margin-bottom: 20px; | ||
19 | border-bottom: 1px solid #C6C6C6; | ||
20 | 16 | ||
21 | img { | 17 | img { |
22 | @include avatar(80px); | 18 | @include avatar(80px); |
@@ -42,7 +38,7 @@ | |||
42 | 38 | ||
43 | .video-channel-name { | 39 | .video-channel-name { |
44 | font-size: 14px; | 40 | font-size: 14px; |
45 | color: #777272; | 41 | color: $grey-actor-name; |
46 | margin-left: 5px; | 42 | margin-left: 5px; |
47 | } | 43 | } |
48 | } | 44 | } |
@@ -64,12 +60,9 @@ | |||
64 | } | 60 | } |
65 | 61 | ||
66 | .video-channel { | 62 | .video-channel { |
67 | flex-direction: column; | ||
68 | height: auto; | ||
69 | text-align: center; | ||
70 | |||
71 | .video-channel-names { | 63 | .video-channel-names { |
72 | justify-content: center; | 64 | flex-direction: column; |
65 | align-items: center !important; | ||
73 | } | 66 | } |
74 | 67 | ||
75 | img { | 68 | img { |