From 4a0ac2c339e8bde338cb51e47d76f40ce1fd8619 Mon Sep 17 00:00:00 2001 From: cpradio Date: Sun, 5 Jun 2016 07:03:24 -0400 Subject: [PATCH] FIX: Show eye-slash icon when able to mark a topic as Unlisted, and eye icon when able to mark it Listed --- .../javascripts/discourse/widgets/topic-admin-menu.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/widgets/topic-admin-menu.js.es6 b/app/assets/javascripts/discourse/widgets/topic-admin-menu.js.es6 index 607acb7eedb..f2b9a57945e 100644 --- a/app/assets/javascripts/discourse/widgets/topic-admin-menu.js.es6 +++ b/app/assets/javascripts/discourse/widgets/topic-admin-menu.js.es6 @@ -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')) {