mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Fix glimmer suggested topic item badges (#27123)
This commit is contained in:
@@ -89,6 +89,10 @@ export default class TopicList extends Component {
|
||||
return lastVisitedTopic;
|
||||
}
|
||||
|
||||
get showTopicPostBadges() {
|
||||
return this.args.showTopicPostBadges ?? true;
|
||||
}
|
||||
|
||||
<template>
|
||||
{{! template-lint-disable table-groups }}
|
||||
<table
|
||||
@@ -140,7 +144,7 @@ export default class TopicList extends Component {
|
||||
<TopicListItem
|
||||
@topic={{topic}}
|
||||
@bulkSelectEnabled={{this.bulkSelectEnabled}}
|
||||
@showTopicPostBadges={{@showTopicPostBadges}}
|
||||
@showTopicPostBadges={{this.showTopicPostBadges}}
|
||||
@hideCategory={{@hideCategory}}
|
||||
@showPosters={{@showPosters}}
|
||||
@showLikes={{this.showLikes}}
|
||||
|
||||
Reference in New Issue
Block a user