mirror of
https://github.com/ellite/Wallos.git
synced 2026-05-07 20:39:21 -05:00
fix: show translated no category when sorting by category (#122)
* fix: show translated no category when sorting by category * chore: allow caching of docker building images
This commit is contained in:
@@ -70,7 +70,13 @@
|
||||
if ($sort == "category_id" && $subscription['category_id'] != $currentCategory) {
|
||||
?>
|
||||
<div class="subscription-list-title">
|
||||
<?= $categories[$subscription['category_id']]['name'] ?>
|
||||
<?php
|
||||
if ($subscription['category_id'] == 1) {
|
||||
echo translate('no_category', $i18n);
|
||||
} else {
|
||||
echo $categories[$subscription['category_id']]['name'];
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<?php
|
||||
$currentCategory = $subscription['category_id'];
|
||||
|
||||
Reference in New Issue
Block a user