mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: add before and after mobile categories outlet (#29238)
This commit is contained in:
parent
f28f82f99e
commit
da571b6ac5
@ -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}}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user