mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-29 07:24:09 -04:00
FIX: Anonymous timeline bug
This commit is contained in:
parent
90330d30f4
commit
ee01c275fb
1 changed files with 2 additions and 1 deletions
|
@ -210,7 +210,8 @@ export default createWidget('topic-timeline', {
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.currentUser.get('canManageTopic')) {
|
const { currentUser } = this;
|
||||||
|
if (currentUser && currentUser.get('canManageTopic')) {
|
||||||
controls.push(this.attach('topic-admin-menu-button', { topic }));
|
controls.push(this.attach('topic-admin-menu-button', { topic }));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue