Support more filters
This commit is contained in:
18
peertube-plugin-hello-world/client/signup-client-plugin.js
Normal file
18
peertube-plugin-hello-world/client/signup-client-plugin.js
Normal 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
|
||||
}
|
Reference in New Issue
Block a user