mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 05:29:17 -06:00
Support for adding extra links to the hamburger general area
This commit is contained in:
parent
55dcccb287
commit
9e3b96c8e4
@ -87,7 +87,9 @@ export default createWidget('hamburger-menu', {
|
||||
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() {
|
||||
|
Loading…
Reference in New Issue
Block a user