diff --git a/app/assets/javascripts/discourse/raw-views/topic-status.js.es6 b/app/assets/javascripts/discourse/raw-views/topic-status.js.es6 index 8b6af94cbb3..cf9f81cc0cb 100644 --- a/app/assets/javascripts/discourse/raw-views/topic-status.js.es6 +++ b/app/assets/javascripts/discourse/raw-views/topic-status.js.es6 @@ -53,7 +53,7 @@ export default Ember.Object.extend({ results.forEach(result => { result.title = I18n.t(`topic_statuses.${result.key}.help`); - if (!self.disableActions && (result.key === "pinned" ||result.key === "unpinned")) { + if (this.currentUser && (result.key === "pinned" || result.key === "unpinned")) { result.openTag = 'a href'; result.closeTag = 'a'; } else {