aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--client/src/app/+videos/+video-edit/video-add.component.ts2
-rw-r--r--shared/models/plugins/client/client-hook.model.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/+videos/+video-edit/video-add.component.ts b/client/src/app/+videos/+video-edit/video-add.component.ts
index 1443c64af..a107ad123 100644
--- a/client/src/app/+videos/+video-edit/video-add.component.ts
+++ b/client/src/app/+videos/+video-edit/video-add.component.ts
@@ -82,7 +82,7 @@ export class VideoAddComponent implements OnInit, CanComponentDeactivate {
82 quotaLeft 82 quotaLeft
83 } 83 }
84 84
85 this.uploadMessages = await this.hooks.wrapObject(uploadMessages, 'common', 'filter:upload-page.alert-messages.edit.result') 85 this.uploadMessages = await this.hooks.wrapObject(uploadMessages, 'common', 'filter:upload.messages.create.result')
86 } 86 }
87 87
88 onNavChange (newActiveNav: string) { 88 onNavChange (newActiveNav: string) {
diff --git a/shared/models/plugins/client/client-hook.model.ts b/shared/models/plugins/client/client-hook.model.ts
index aafc8c72b..d811e2c67 100644
--- a/shared/models/plugins/client/client-hook.model.ts
+++ b/shared/models/plugins/client/client-hook.model.ts
@@ -59,7 +59,7 @@ export const clientFilterHookObject = {
59 'filter:left-menu.links.create.result': true, 59 'filter:left-menu.links.create.result': true,
60 60
61 // Filter upload page alert messages 61 // Filter upload page alert messages
62 'filter:upload-page.alert-messages.edit.result': true, 62 'filter:upload.messages.create.result': true,
63 63
64 // Filter videojs options built for PeerTube player 64 // Filter videojs options built for PeerTube player
65 'filter:internal.player.videojs.options.result': true 65 'filter:internal.player.videojs.options.result': true