Support for adding extra links to the hamburger general area

This commit is contained in:
Robin Ward 2016-05-10 16:15:38 -04:00
parent 55dcccb287
commit 9e3b96c8e4
No known key found for this signature in database
GPG Key ID: 0E091E2B4ED1B83D

View File

@ -87,7 +87,9 @@ export default createWidget('hamburger-menu', {
links.push({ route: 'tags', label: 'tagging.tags' }); links.push({ route: 'tags', label: 'tagging.tags' });
} }
return links.map(l => this.attach('link', l)); const extraLinks = applyDecorators(this, 'generalLinks', this.attrs, this.state);
return links.concat(extraLinks).map(l => this.attach('link', l));
}, },
listCategories() { listCategories() {