Fix my-video-imports display when a video gets deleted
This commit is contained in:
parent
66be521333
commit
92e4ca0d95
|
@ -28,13 +28,14 @@
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td *ngIf="isVideoImportPending(videoImport)">
|
<td>
|
||||||
{{ videoImport.video?.name }}
|
<ng-container *ngIf="isVideoImportPending(videoImport)">{{ videoImport.video?.name }}</ng-container>
|
||||||
</td>
|
<ng-container *ngIf="isVideoImportSuccess(videoImport) && videoImport.video">
|
||||||
<td *ngIf="isVideoImportSuccess(videoImport) && videoImport.video">
|
|
||||||
<a [href]="getVideoUrl(videoImport.video)" target="_blank" rel="noopener noreferrer">{{ videoImport.video?.name }}</a>
|
<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>
|
||||||
<td *ngIf="isVideoImportFailed(videoImport)"></td>
|
|
||||||
|
|
||||||
<td>{{ videoImport.state.label }}</td>
|
<td>{{ videoImport.state.label }}</td>
|
||||||
<td>{{ videoImport.createdAt }}</td>
|
<td>{{ videoImport.createdAt }}</td>
|
||||||
|
|
Loading…
Reference in New Issue