aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts2
-rw-r--r--client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.ts5
2 files changed, 2 insertions, 5 deletions
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts
index 5fc8b21fb..6f72a07c4 100644
--- a/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts
+++ b/client/src/app/+videos/+video-edit/video-add-components/video-upload.component.ts
@@ -121,7 +121,7 @@ export class VideoUploadComponent extends VideoSend implements OnInit, OnDestroy
121 let text = '' 121 let text = ''
122 122
123 if (this.videoUploaded === true) { 123 if (this.videoUploaded === true) {
124 // FIXME: cannot concatenate strings using $localize 124 // We can't concatenate strings using $localize
125 text = $localize`Your video was uploaded to your account and is private.` + ' ' + 125 text = $localize`Your video was uploaded to your account and is private.` + ' ' +
126 $localize`But associated data (tags, description...) will be lost, are you sure you want to leave this page?` 126 $localize`But associated data (tags, description...) will be lost, are you sure you want to leave this page?`
127 } else { 127 } else {
diff --git a/client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.ts b/client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.ts
index 8d1e14f94..ea58d7f76 100644
--- a/client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.ts
+++ b/client/src/app/shared/shared-video-playlist/video-playlist-element-miniature.component.ts
@@ -166,9 +166,6 @@ export class VideoPlaylistElementMiniatureComponent implements OnInit {
166 } 166 }
167 } 167 }
168 168
169 // FIXME: why do we have to use setTimeout here? 169 this.cdr.markForCheck()
170 setTimeout(() => {
171 this.cdr.detectChanges()
172 })
173 } 170 }
174} 171}