Verified Commit 92e4ca0d authored by Rigel Kent's avatar Rigel Kent
Browse files

Fix my-video-imports display when a video gets deleted

parent 66be5213
......@@ -28,13 +28,14 @@
</ng-template>
</td>
<td *ngIf="isVideoImportPending(videoImport)">
{{ videoImport.video?.name }}
</td>
<td *ngIf="isVideoImportSuccess(videoImport) && videoImport.video">
<a [href]="getVideoUrl(videoImport.video)" target="_blank" rel="noopener noreferrer">{{ videoImport.video?.name }}</a>
<td>
<ng-container *ngIf="isVideoImportPending(videoImport)">{{ videoImport.video?.name }}</ng-container>
<ng-container *ngIf="isVideoImportSuccess(videoImport) && videoImport.video">
<a [href]="getVideoUrl(videoImport.video)" target="_blank" rel="noopener noreferrer">{{ videoImport.video?.name }}</a>
</ng-container>
<ng-container *ngIf="isVideoImportSuccess(videoImport) && !videoImport.video" i18n>This video was deleted</ng-container>
<ng-container *ngIf="isVideoImportFailed(videoImport)"></ng-container>
</td>
<td *ngIf="isVideoImportFailed(videoImport)"></td>
<td>{{ videoImport.state.label }}</td>
<td>{{ videoImport.createdAt }}</td>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment