mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
Add a decorator for the footer links in the hamburger
This commit is contained in:
parent
884bdf7240
commit
9f4ef6eeb6
1 changed files with 2 additions and 1 deletions
|
@ -143,7 +143,8 @@ export default createWidget('hamburger-menu', {
|
||||||
label: this.site.mobileView ? "desktop_view" : "mobile_view" });
|
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() {
|
panelContents() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue