aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-account/my-account-video-imports
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-04-08 10:49:26 +0200
committerChocobozzz <me@florianbigard.com>2020-04-08 10:49:26 +0200
commit8e11a1b37cb1d226acfe494f8821e5eb6e874dd0 (patch)
treec7444cdf17dddd9debacf66dbaa54e8ee04e4b5b /client/src/app/+my-account/my-account-video-imports
parent14f83c68f11da3435940504fa4000193fb4943be (diff)
downloadPeerTube-8e11a1b37cb1d226acfe494f8821e5eb6e874dd0.tar.gz
PeerTube-8e11a1b37cb1d226acfe494f8821e5eb6e874dd0.tar.zst
PeerTube-8e11a1b37cb1d226acfe494f8821e5eb6e874dd0.zip
Fix sort in admin tables
Diffstat (limited to 'client/src/app/+my-account/my-account-video-imports')
-rw-r--r--client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.ts b/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.ts
index 74c42bb4f..9281f9789 100644
--- a/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.ts
+++ b/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.ts
@@ -20,8 +20,7 @@ export class MyAccountVideoImportsComponent extends RestTable implements OnInit
20 20
21 constructor ( 21 constructor (
22 private notifier: Notifier, 22 private notifier: Notifier,
23 private videoImportService: VideoImportService, 23 private videoImportService: VideoImportService
24 private i18n: I18n
25 ) { 24 ) {
26 super() 25 super()
27 } 26 }
@@ -30,6 +29,10 @@ export class MyAccountVideoImportsComponent extends RestTable implements OnInit
30 this.initialize() 29 this.initialize()
31 } 30 }
32 31
32 getIdentifier () {
33 return 'MyAccountVideoImportsComponent'
34 }
35
33 isVideoImportSuccess (videoImport: VideoImport) { 36 isVideoImportSuccess (videoImport: VideoImport) {
34 return videoImport.state.id === VideoImportState.SUCCESS 37 return videoImport.state.id === VideoImportState.SUCCESS
35 } 38 }