From c2023a9f027deb310248ad751cc96a21a8e1ed03 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 5 Dec 2019 17:26:58 +0100 Subject: Add ability to update icons content --- shared/models/plugins/client-hook.model.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'shared') diff --git a/shared/models/plugins/client-hook.model.ts b/shared/models/plugins/client-hook.model.ts index f0cdb8b19..ecbe8bd3c 100644 --- a/shared/models/plugins/client-hook.model.ts +++ b/shared/models/plugins/client-hook.model.ts @@ -45,7 +45,12 @@ export const clientFilterHookObject = { 'filter:api.signup.registration.create.params': true, // Filter the options to create our player - 'filter:internal.video-watch.player.build-options.result': true + 'filter:internal.video-watch.player.build-options.params': true, + 'filter:internal.video-watch.player.build-options.result': true, + + // Filter our SVG icons content + 'filter:internal.common.svg-icons.get-content.params': true, + 'filter:internal.common.svg-icons.get-content.result': true } export type ClientFilterHookName = keyof typeof clientFilterHookObject -- cgit v1.2.3