diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-04-12 14:11:17 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-04-12 14:11:17 +0200 |
commit | 92e4ca0d95f61994626233866c57b5b078ef9c5a (patch) | |
tree | 362ccd557186d20529a7babadeefd69fcfb6213c /client/src/app/+my-account | |
parent | 66be5213333702a1182e6fef73aa15cb45eb04ee (diff) | |
download | PeerTube-92e4ca0d95f61994626233866c57b5b078ef9c5a.tar.gz PeerTube-92e4ca0d95f61994626233866c57b5b078ef9c5a.tar.zst PeerTube-92e4ca0d95f61994626233866c57b5b078ef9c5a.zip |
Fix my-video-imports display when a video gets deleted
Diffstat (limited to 'client/src/app/+my-account')
-rw-r--r-- | client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html b/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html index 922664338..b67c053e6 100644 --- a/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html +++ b/client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html | |||
@@ -28,13 +28,14 @@ | |||
28 | </ng-template> | 28 | </ng-template> |
29 | </td> | 29 | </td> |
30 | 30 | ||
31 | <td *ngIf="isVideoImportPending(videoImport)"> | 31 | <td> |
32 | {{ videoImport.video?.name }} | 32 | <ng-container *ngIf="isVideoImportPending(videoImport)">{{ videoImport.video?.name }}</ng-container> |
33 | </td> | 33 | <ng-container *ngIf="isVideoImportSuccess(videoImport) && videoImport.video"> |
34 | <td *ngIf="isVideoImportSuccess(videoImport) && videoImport.video"> | 34 | <a [href]="getVideoUrl(videoImport.video)" target="_blank" rel="noopener noreferrer">{{ videoImport.video?.name }}</a> |
35 | <a [href]="getVideoUrl(videoImport.video)" target="_blank" rel="noopener noreferrer">{{ videoImport.video?.name }}</a> | 35 | </ng-container> |
36 | <ng-container *ngIf="isVideoImportSuccess(videoImport) && !videoImport.video" i18n>This video was deleted</ng-container> | ||
37 | <ng-container *ngIf="isVideoImportFailed(videoImport)"></ng-container> | ||
36 | </td> | 38 | </td> |
37 | <td *ngIf="isVideoImportFailed(videoImport)"></td> | ||
38 | 39 | ||
39 | <td>{{ videoImport.state.label }}</td> | 40 | <td>{{ videoImport.state.label }}</td> |
40 | <td>{{ videoImport.createdAt }}</td> | 41 | <td>{{ videoImport.createdAt }}</td> |