diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-23 17:58:39 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-27 09:41:54 +0200 |
commit | f37dc0dd14d9ce0b59c454c2c1b935fcbe9727e9 (patch) | |
tree | 2050443febcdb2a3eec68b7bbf9687e26dcb24dc /client/src/app/+my-account | |
parent | 240085d0056fd97ac3c7fa8fa4ce9bc32afc4d6e (diff) | |
download | PeerTube-f37dc0dd14d9ce0b59c454c2c1b935fcbe9727e9.tar.gz PeerTube-f37dc0dd14d9ce0b59c454c2c1b935fcbe9727e9.tar.zst PeerTube-f37dc0dd14d9ce0b59c454c2c1b935fcbe9727e9.zip |
Add ability to search video channels
Diffstat (limited to 'client/src/app/+my-account')
3 files changed, 5 insertions, 8 deletions
diff --git a/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.scss b/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.scss index 2fbfa335b..8cb0b677d 100644 --- a/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.scss +++ b/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.scss | |||
@@ -37,13 +37,6 @@ | |||
37 | .actor-owner { | 37 | .actor-owner { |
38 | @include actor-owner; | 38 | @include actor-owner; |
39 | } | 39 | } |
40 | |||
41 | my-subscribe-button { | ||
42 | /deep/ span[role=button] { | ||
43 | padding: 7px 12px; | ||
44 | font-size: 16px; | ||
45 | } | ||
46 | } | ||
47 | } | 40 | } |
48 | 41 | ||
49 | 42 | ||
diff --git a/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.ts b/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.ts index 1e94cf90b..9434b196f 100644 --- a/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.ts +++ b/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.ts | |||
@@ -21,7 +21,7 @@ export class MyAccountSubscriptionsComponent implements OnInit { | |||
21 | ngOnInit () { | 21 | ngOnInit () { |
22 | this.userSubscriptionService.listSubscriptions() | 22 | this.userSubscriptionService.listSubscriptions() |
23 | .subscribe( | 23 | .subscribe( |
24 | res => { console.log(res); this.videoChannels = res.data }, | 24 | res => this.videoChannels = res.data, |
25 | 25 | ||
26 | error => this.notificationsService.error(this.i18n('Error'), error.message) | 26 | error => this.notificationsService.error(this.i18n('Error'), error.message) |
27 | ) | 27 | ) |
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 5c892be01..83d657f03 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 | |||
@@ -41,6 +41,10 @@ | |||
41 | color: $grey-actor-name; | 41 | color: $grey-actor-name; |
42 | margin-left: 5px; | 42 | margin-left: 5px; |
43 | } | 43 | } |
44 | |||
45 | .video-channel-followers { | ||
46 | |||
47 | } | ||
44 | } | 48 | } |
45 | } | 49 | } |
46 | 50 | ||