From 9f4ef6eeb6dfa4fe08da7b04c4ed2f2435e98d96 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Mon, 22 Aug 2016 13:21:41 -0400 Subject: [PATCH] Add a decorator for the footer links in the hamburger --- app/assets/javascripts/discourse/widgets/hamburger-menu.js.es6 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/widgets/hamburger-menu.js.es6 b/app/assets/javascripts/discourse/widgets/hamburger-menu.js.es6 index 933b31fc1bd..c944c40203e 100644 --- a/app/assets/javascripts/discourse/widgets/hamburger-menu.js.es6 +++ b/app/assets/javascripts/discourse/widgets/hamburger-menu.js.es6 @@ -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() {