From 3d5d2deef5e8f26b009723db5addb0dcb90aa71d Mon Sep 17 00:00:00 2001 From: Florent Date: Mon, 10 Oct 2022 10:20:07 +0200 Subject: Sync channel: move the list imports button #5337 --- .../my-video-channel-syncs/my-video-channel-syncs.component.html | 7 ------- .../my-video-channel-syncs/my-video-channel-syncs.component.ts | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'client/src/app') 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`, -- cgit v1.2.3