DEV: add before and after mobile categories outlet (#29238)

This commit is contained in:
Kris 2024-10-16 16:30:19 -04:00 committed by GitHub
parent f28f82f99e
commit da571b6ac5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,9 +1,14 @@
{{#if this.categories}} {{#if this.categories}}
{{#if this.filteredCategories}} {{#if this.filteredCategories}}
<div class="category-list {{if this.showTopics 'with-topics'}}"> <div class="category-list {{if this.showTopics 'with-topics'}}">
{{#each this.filteredCategories as |c|}} <PluginOutlet
<ParentCategoryRow @category={{c}} @showTopics={{this.showTopics}} /> @name="mobile-categories"
{{/each}} @outletArgs={{hash categories=this.filteredCategories}}
>
{{#each this.filteredCategories as |c|}}
<ParentCategoryRow @category={{c}} @showTopics={{this.showTopics}} />
{{/each}}
</PluginOutlet>
</div> </div>
{{/if}} {{/if}}