diff options
author | Chocobozzz <me@florianbigard.com> | 2020-04-08 10:49:26 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-04-08 10:49:26 +0200 |
commit | 8e11a1b37cb1d226acfe494f8821e5eb6e874dd0 (patch) | |
tree | c7444cdf17dddd9debacf66dbaa54e8ee04e4b5b /client/src/app/+admin/follows | |
parent | 14f83c68f11da3435940504fa4000193fb4943be (diff) | |
download | PeerTube-8e11a1b37cb1d226acfe494f8821e5eb6e874dd0.tar.gz PeerTube-8e11a1b37cb1d226acfe494f8821e5eb6e874dd0.tar.zst PeerTube-8e11a1b37cb1d226acfe494f8821e5eb6e874dd0.zip |
Fix sort in admin tables
Diffstat (limited to 'client/src/app/+admin/follows')
3 files changed, 12 insertions, 0 deletions
diff --git a/client/src/app/+admin/follows/followers-list/followers-list.component.ts b/client/src/app/+admin/follows/followers-list/followers-list.component.ts index 707daef84..aff59a691 100644 --- a/client/src/app/+admin/follows/followers-list/followers-list.component.ts +++ b/client/src/app/+admin/follows/followers-list/followers-list.component.ts | |||
@@ -31,6 +31,10 @@ export class FollowersListComponent extends RestTable implements OnInit { | |||
31 | this.initialize() | 31 | this.initialize() |
32 | } | 32 | } |
33 | 33 | ||
34 | getIdentifier () { | ||
35 | return 'FollowersListComponent' | ||
36 | } | ||
37 | |||
34 | acceptFollower (follow: ActorFollow) { | 38 | acceptFollower (follow: ActorFollow) { |
35 | follow.state = 'accepted' | 39 | follow.state = 'accepted' |
36 | 40 | ||
diff --git a/client/src/app/+admin/follows/following-list/following-list.component.ts b/client/src/app/+admin/follows/following-list/following-list.component.ts index 3d78c254f..dd7629ead 100644 --- a/client/src/app/+admin/follows/following-list/following-list.component.ts +++ b/client/src/app/+admin/follows/following-list/following-list.component.ts | |||
@@ -32,6 +32,10 @@ export class FollowingListComponent extends RestTable implements OnInit { | |||
32 | this.initialize() | 32 | this.initialize() |
33 | } | 33 | } |
34 | 34 | ||
35 | getIdentifier () { | ||
36 | return 'FollowingListComponent' | ||
37 | } | ||
38 | |||
35 | async removeFollowing (follow: ActorFollow) { | 39 | async removeFollowing (follow: ActorFollow) { |
36 | const res = await this.confirmService.confirm( | 40 | const res = await this.confirmService.confirm( |
37 | this.i18n('Do you really want to unfollow {{host}}?', { host: follow.following.host }), | 41 | this.i18n('Do you really want to unfollow {{host}}?', { host: follow.following.host }), |
diff --git a/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.ts b/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.ts index 4b41d1d86..2edee99a3 100644 --- a/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.ts +++ b/client/src/app/+admin/follows/video-redundancies-list/video-redundancies-list.component.ts | |||
@@ -44,6 +44,10 @@ export class VideoRedundanciesListComponent extends RestTable implements OnInit | |||
44 | this.bytesPipe = new BytesPipe() | 44 | this.bytesPipe = new BytesPipe() |
45 | } | 45 | } |
46 | 46 | ||
47 | getIdentifier () { | ||
48 | return 'VideoRedundanciesListComponent' | ||
49 | } | ||
50 | |||
47 | ngOnInit () { | 51 | ngOnInit () { |
48 | this.loadSelectLocalStorage() | 52 | this.loadSelectLocalStorage() |
49 | 53 | ||