FIX: Expand globally pinned topics correctly (#24266)

and ensure proper re-render when moving between category/latest pages

Followup to 82d6d691ee
This commit is contained in:
David Taylor 2023-11-07 10:17:41 +00:00 committed by GitHub
parent f20b6a0cc3
commit 9dd4d97289
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -203,7 +203,7 @@ export default class DiscoveryTopics extends Component {
);
}
get expandAllGloballyPinned() {
get expandGloballyPinned() {
return !this.expandAllPinned;
}

View File

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