aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-06-07 13:16:50 +0200
committerChocobozzz <me@florianbigard.com>2021-06-07 13:20:08 +0200
commit8beea2d37d90e9a12d895f4a9eebc1e532313d8c (patch)
tree22bd28d42531f068517e20a0b9c5344fe6a6aa2c /shared/models/plugins
parent9cc4b9c61f4caa7414420f1c11ba4380c516a7a2 (diff)
downloadPeerTube-8beea2d37d90e9a12d895f4a9eebc1e532313d8c.tar.gz
PeerTube-8beea2d37d90e9a12d895f4a9eebc1e532313d8c.tar.zst
PeerTube-8beea2d37d90e9a12d895f4a9eebc1e532313d8c.zip
Add ability to filter menu links
Diffstat (limited to 'shared/models/plugins')
-rw-r--r--shared/models/plugins/client/client-hook.model.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/shared/models/plugins/client/client-hook.model.ts b/shared/models/plugins/client/client-hook.model.ts
index 620651051..3eedd670b 100644
--- a/shared/models/plugins/client/client-hook.model.ts
+++ b/shared/models/plugins/client/client-hook.model.ts
@@ -50,7 +50,10 @@ export const clientFilterHookObject = {
50 50
51 // Filter our SVG icons content 51 // Filter our SVG icons content
52 'filter:internal.common.svg-icons.get-content.params': true, 52 'filter:internal.common.svg-icons.get-content.params': true,
53 'filter:internal.common.svg-icons.get-content.result': true 53 'filter:internal.common.svg-icons.get-content.result': true,
54
55 // Filter left menu links
56 'filter:left-menu.links.create.result': true
54} 57}
55 58
56export type ClientFilterHookName = keyof typeof clientFilterHookObject 59export type ClientFilterHookName = keyof typeof clientFilterHookObject