X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bmy-account%2Fmy-account-video-imports%2Fmy-account-video-imports.component.ts;h=9281f978941671c8bf9e4470460541a2e48c9499;hb=92e4ca0d95f61994626233866c57b5b078ef9c5a;hp=74c42bb4f63c8ba577f6989feaf678733a48a48d;hpb=818c449b3c34e9f324ac744120c8774e724ab25e;p=github%2FChocobozzz%2FPeerTube.git 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 constructor ( private notifier: Notifier, - private videoImportService: VideoImportService, - private i18n: I18n + private videoImportService: VideoImportService ) { super() } @@ -30,6 +29,10 @@ export class MyAccountVideoImportsComponent extends RestTable implements OnInit this.initialize() } + getIdentifier () { + return 'MyAccountVideoImportsComponent' + } + isVideoImportSuccess (videoImport: VideoImport) { return videoImport.state.id === VideoImportState.SUCCESS }