Add a decorator for the footer links in the hamburger

This commit is contained in:
Robin Ward 2016-08-22 13:21:41 -04:00
parent 884bdf7240
commit 9f4ef6eeb6

View File

@ -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() {