mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 04:01:18 +08:00
FEATURE: Introduce APIs for manipulating header icons (#25916)
This commit is contained in:
@ -169,7 +169,7 @@ export default {
|
||||
api.addCardClickListenerSelector(".chat-drawer-outlet");
|
||||
|
||||
if (this.chatService.userCanChat) {
|
||||
api.addToHeaderIcons(ChatHeaderIcon);
|
||||
api.headerIcons.add("chat", ChatHeaderIcon);
|
||||
}
|
||||
|
||||
api.addStyleguideSection?.({
|
||||
|
Reference in New Issue
Block a user