aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.ts')
-rw-r--r--client/src/app/+my-library/my-video-channel-syncs/my-video-channel-syncs.component.ts12
1 files changed, 10 insertions, 2 deletions
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..d18e78201 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
@@ -1,10 +1,10 @@
1import { SortMeta } from 'primeng/api'
2import { mergeMap } from 'rxjs'
1import { Component, OnInit } from '@angular/core' 3import { Component, OnInit } from '@angular/core'
2import { AuthService, Notifier, RestPagination, RestTable, ServerService } from '@app/core' 4import { AuthService, Notifier, RestPagination, RestTable, ServerService } from '@app/core'
3import { DropdownAction, VideoChannelService, VideoChannelSyncService } from '@app/shared/shared-main' 5import { DropdownAction, VideoChannelService, VideoChannelSyncService } from '@app/shared/shared-main'
4import { HTMLServerConfig } from '@shared/models/server' 6import { HTMLServerConfig } from '@shared/models/server'
5import { VideoChannelSync, VideoChannelSyncState } from '@shared/models/videos' 7import { VideoChannelSync, VideoChannelSyncState } from '@shared/models/videos'
6import { SortMeta } from 'primeng/api'
7import { mergeMap } from 'rxjs'
8 8
9@Component({ 9@Component({
10 templateUrl: './my-video-channel-syncs.component.html', 10 templateUrl: './my-video-channel-syncs.component.html',
@@ -46,6 +46,14 @@ export class MyVideoChannelSyncsComponent extends RestTable implements OnInit {
46 this.videoChannelSyncActions = [ 46 this.videoChannelSyncActions = [
47 [ 47 [
48 { 48 {
49 label: $localize`List imports`,
50 linkBuilder: () => [ '/my-library/video-imports' ],
51 queryParamsBuilder: sync => ({ search: `videoChannelSyncId:${sync.id}` }),
52 iconName: 'cloud-download'
53 }
54 ],
55 [
56 {
49 label: $localize`Delete`, 57 label: $localize`Delete`,
50 iconName: 'delete', 58 iconName: 'delete',
51 handler: videoChannelSync => this.deleteSync(videoChannelSync) 59 handler: videoChannelSync => this.deleteSync(videoChannelSync)