mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
FIX: Show eye-slash icon when able to mark a topic as Unlisted, and eye icon when able to mark it Listed
This commit is contained in:
parent
c6f5a52e17
commit
4a0ac2c339
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ export default createWidget('topic-admin-menu', {
|
|||
const visible = topic.get('visible');
|
||||
buttons.push({ className: 'topic-admin-visible',
|
||||
action: 'toggleVisibility',
|
||||
icon: visible ? 'eye' : 'eye-slash',
|
||||
icon: visible ? 'eye-slash' : 'eye',
|
||||
label: visible ? 'actions.invisible' : 'actions.visible' });
|
||||
|
||||
if (this.currentUser.get('staff')) {
|
||||
|
|
Loading…
Reference in a new issue