mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 20:15:46 +08:00
Add a decorator for the footer links in the hamburger
This commit is contained in:
parent
884bdf7240
commit
9f4ef6eeb6
|
@ -143,7 +143,8 @@ export default createWidget('hamburger-menu', {
|
|||
label: this.site.mobileView ? "desktop_view" : "mobile_view" });
|
||||
}
|
||||
|
||||
return links.map(l => this.attach('link', l));
|
||||
const extraLinks = applyDecorators(this, 'footerLinks', this.attrs, this.state);
|
||||
return links.concat(extraLinks).map(l => this.attach('link', l));
|
||||
},
|
||||
|
||||
panelContents() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user