mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-01 10:58:06 +02:00
feat: add chat widget areas, closes #12375
This commit is contained in:
@@ -196,6 +196,9 @@ widgets.getAvailableAreas = async function () {
|
||||
|
||||
{ name: 'Group Page (Left)', template: 'groups/details.tpl', location: 'left' },
|
||||
{ name: 'Group Page (Right)', template: 'groups/details.tpl', location: 'right' },
|
||||
|
||||
{ name: 'Chat Header', template: 'chats.tpl', location: 'header' },
|
||||
{ name: 'Chat Sidebar', template: 'chats.tpl', location: 'sidebar' },
|
||||
];
|
||||
|
||||
return await plugins.hooks.fire('filter:widgets.getAreas', defaultAreas);
|
||||
|
||||
Reference in New Issue
Block a user