DEV: Fix glimmer suggested topic item badges (#27123)

This commit is contained in:
Jarek Radosz
2024-05-22 03:06:45 +02:00
committed by GitHub
parent 48b74245b9
commit 4b29ab8572
2 changed files with 27 additions and 4 deletions

View File

@@ -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}}