File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 22
22
<AppNavigationItem :title =" t('cookbook', 'All recipes')" icon =" icon-category-organization" :to =" '/'" >
23
23
<AppNavigationCounter slot =" counter" >{{ totalRecipeCount }}</AppNavigationCounter >
24
24
</AppNavigationItem >
25
+ <AppNavigationItem :title =" t('cookbook', 'Uncategorized recipes')" icon =" icon-category-organization" :to =" '/category/None/'" >
26
+ <AppNavigationCounter slot =" counter" >{{ uncatRecipes }}</AppNavigationCounter >
27
+ </AppNavigationItem >
25
28
<AppNavigationItem v-for =" (cat,idx) in categories"
26
29
:key =" cat+idx"
27
30
:ref =" 'app-navi-cat-'+idx"
@@ -242,6 +245,7 @@ export default {
242
245
for (let i= 0 ; i< json .length ; i++ ) {
243
246
if (json[i].name === ' *' ) {
244
247
this .uncatRecipes = parseInt (json[i].recipe_count )
248
+ json[i].name = " Uncategorized"
245
249
} else {
246
250
this .categories .push ({
247
251
name: json[i].name ,
You can’t perform that action at this time.
0 commit comments