FIX: Only show topic timer to staff
This commit is contained in:
parent
37e5ee858f
commit
e3e6fd6ea0
|
@ -140,11 +140,12 @@ export default createWidget('topic-admin-menu', {
|
|||
icon: 'lock',
|
||||
label: 'actions.close' });
|
||||
}
|
||||
|
||||
if (this.currentUser.get('staff')) {
|
||||
buttons.push({ className: 'topic-admin-status-update',
|
||||
action: 'showTopicStatusUpdate',
|
||||
icon: 'clock-o',
|
||||
label: 'actions.timed_update' });
|
||||
}
|
||||
|
||||
const isPrivateMessage = topic.get('isPrivateMessage');
|
||||
|
||||
|
|
Loading…
Reference in New Issue