DEV: include expandPinned in topic-list-main-link-bottom outlet (#31334)

Requested on Meta, seems reasonable:
https://meta.discourse.org/t/modify-topicexcerpt-template/352136
This commit is contained in:
Kris 2025-02-14 09:37:07 -05:00 committed by GitHub
parent a0f681b256
commit e5eeb642b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -335,7 +335,10 @@ export default class Item extends Component {
{{~/if~}} {{~/if~}}
<PluginOutlet <PluginOutlet
@name="topic-list-main-link-bottom" @name="topic-list-main-link-bottom"
@outletArgs={{hash topic=@topic}} @outletArgs={{hash
topic=@topic
expandPinned=this.expandPinned
}}
/> />
</div> </div>
{{~! no whitespace ~}} {{~! no whitespace ~}}

View File

@ -136,7 +136,7 @@ export default class TopicCell extends Component {
<PluginOutlet <PluginOutlet
@name="topic-list-main-link-bottom" @name="topic-list-main-link-bottom"
@outletArgs={{hash topic=@topic}} @outletArgs={{hash topic=@topic expandPinned=@expandPinned}}
/> />
</td> </td>
</template> </template>