]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Update upload message filter hook name
authorChocobozzz <me@florianbigard.com>
Wed, 25 Aug 2021 09:41:10 +0000 (11:41 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 25 Aug 2021 09:41:10 +0000 (11:41 +0200)
client/src/app/+videos/+video-edit/video-add.component.ts
shared/models/plugins/client/client-hook.model.ts

index 1443c64af8c8c7495f75c76941ccdc794c04e297..a107ad1237d6340fadcc15712df050e2ccb8c9df 100644 (file)
@@ -82,7 +82,7 @@ export class VideoAddComponent implements OnInit, CanComponentDeactivate {
       quotaLeft
     }
 
-    this.uploadMessages = await this.hooks.wrapObject(uploadMessages, 'common', 'filter:upload-page.alert-messages.edit.result')
+    this.uploadMessages = await this.hooks.wrapObject(uploadMessages, 'common', 'filter:upload.messages.create.result')
   }
 
   onNavChange (newActiveNav: string) {
index aafc8c72b73d544155eef858e5faa88cb0892477..d811e2c671b66052f7e5351e73bccdbdec13f3eb 100644 (file)
@@ -59,7 +59,7 @@ export const clientFilterHookObject = {
   'filter:left-menu.links.create.result': true,
 
   // Filter upload page alert messages
-  'filter:upload-page.alert-messages.edit.result': true,
+  'filter:upload.messages.create.result': true,
 
   // Filter videojs options built for PeerTube player
   'filter:internal.player.videojs.options.result': true