diff --git a/app/assets/javascripts/discourse/app/components/discovery/topics.js b/app/assets/javascripts/discourse/app/components/discovery/topics.js index 137f5394b52..01e3a5f3da7 100644 --- a/app/assets/javascripts/discourse/app/components/discovery/topics.js +++ b/app/assets/javascripts/discourse/app/components/discovery/topics.js @@ -203,7 +203,7 @@ export default class DiscoveryTopics extends Component { ); } - get expandAllGloballyPinned() { + get expandGloballyPinned() { return !this.expandAllPinned; } diff --git a/app/assets/javascripts/discourse/app/components/topic-list-item.js b/app/assets/javascripts/discourse/app/components/topic-list-item.js index 4f22a546115..04526a19ba6 100644 --- a/app/assets/javascripts/discourse/app/components/topic-list-item.js +++ b/app/assets/javascripts/discourse/app/components/topic-list-item.js @@ -70,7 +70,7 @@ export default Component.extend({ this.renderTopicListItem(); }, - @observes("topic.pinned") + @observes("topic.pinned", "expandGloballyPinned", "expandAllPinned") renderTopicListItem() { const template = findRawTemplate("list/topic-list-item"); if (template) {