Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Framasoft
PeerTube
PeerTube
Commits
92e4ca0d
Verified
Commit
92e4ca0d
authored
Apr 12, 2020
by
Rigel Kent
☕
Browse files
Fix my-video-imports display when a video gets deleted
parent
66be5213
Changes
1
Hide whitespace changes
Inline
Side-by-side
client/src/app/+my-account/my-account-video-imports/my-account-video-imports.component.html
View file @
92e4ca0d
...
...
@@ -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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment