From: Florent Date: Mon, 10 Oct 2022 08:20:07 +0000 (+0200) Subject: Sync channel: move the list imports button #5337 X-Git-Tag: v5.0.0-rc.1~243 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=3d5d2deef5e8f26b009723db5addb0dcb90aa71d;p=github%2FChocobozzz%2FPeerTube.git Sync channel: move the list imports button #5337 --- diff --git a/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.html b/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.html index 5f368d430..538bbd178 100644 --- a/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.html +++ b/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.html @@ -36,7 +36,6 @@ State Created Last synchronization at - @@ -79,12 +78,6 @@ {{ videoChannelSync.createdAt | date: 'short' }} {{ videoChannelSync.lastSyncAt | date: 'short' }} - - - - List imports - - diff --git a/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.ts b/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.ts index 290847418..5d5cc6dea 100644 --- a/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.ts +++ b/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.ts @@ -44,6 +44,13 @@ export class MyVideoChannelSyncsComponent extends RestTable implements OnInit { this.initialize() this.videoChannelSyncActions = [ + [ + { + label: $localize`List imports`, + linkBuilder: (videoChannelSync) => [ `/my-library/video-imports?search=videoChannelSyncId:${videoChannelSync.id}` ], + iconName: 'cloud-download' + } + ], [ { label: $localize`Delete`,