fix more categories button not moving with parent

fix order issue
This commit is contained in:
Barış Soner Uşaklı
2022-10-01 22:02:01 -04:00
parent 4667dc8c88
commit c81eb18623
2 changed files with 12 additions and 7 deletions

View File

@@ -44,11 +44,12 @@
</div>
</div>
</div>
<ul class="list-unstyled has-more-categories {{{ if !../hasMoreSubCategories}}}hidden{{{ end }}}">
<li>
<a href="{config.relative_path}/admin/manage/categories?cid={categories.cid}&page={categories.showMorePage}" class="btn btn-outline-secondary">[[category:x-more-categories, {../subCategoriesLeft}]]</a>
</li>
</ul>
</li>
{{{ if ../hasMoreSubCategories}}}
<li>
<a href="{config.relative_path}/admin/manage/categories?cid={categories.cid}&page={categories.showMorePage}" class="btn btn-outline-secondary">[[category:x-more-categories, {../subCategoriesLeft}]]</a>
</li>
{{{ end }}}
{{{ end }}}
</ul>