Merge pull request #4250 from cpradio/fix-unlisted-listed-icons

FIX: Show eye-slash icon when able to mark a topic as Unlisted, and e…
This commit is contained in:
Arpit Jalan 2016-06-05 17:17:56 +05:30
commit 80f6f7aeab
1 changed files with 1 additions and 1 deletions

View File

@ -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')) {