diff options
author | Chocobozzz <me@florianbigard.com> | 2021-08-25 11:41:10 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-08-25 11:41:10 +0200 |
commit | 59c8902a57991be29f0aacac1642389fb770c6ed (patch) | |
tree | 7db1de03629108899bbbb9a3392d40951344b80a | |
parent | 4e1592daa41f81667f914f37d36795e8c6c046c3 (diff) | |
download | PeerTube-59c8902a57991be29f0aacac1642389fb770c6ed.tar.gz PeerTube-59c8902a57991be29f0aacac1642389fb770c6ed.tar.zst PeerTube-59c8902a57991be29f0aacac1642389fb770c6ed.zip |
Update upload message filter hook name
-rw-r--r-- | client/src/app/+videos/+video-edit/video-add.component.ts | 2 | ||||
-rw-r--r-- | shared/models/plugins/client/client-hook.model.ts | 2 |
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 |