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" });
|
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…
Reference in New Issue