Support more filters

This commit is contained in:
Chocobozzz
2022-01-20 09:36:52 +01:00
parent f869a02e24
commit e7aa6925e5
3 changed files with 59 additions and 8 deletions

View File

@ -0,0 +1,18 @@
function register ({ registerHook, peertubeHelpers }) {
registerHook({
target: 'filter:signup.instance-about-plugin-panels.create.result',
handler: result => {
return result.concat([
{
id: 'loulou',
title: 'Loulou',
html: 'Loulou <strong>Duck</strong>'
}
])
}
})
}
export {
register
}