Add recipe count to header of recipe card section

This commit is contained in:
Jannon Frank 2025-01-26 02:19:24 +00:00
commit 5ac817a77e

View file

@ -5,7 +5,7 @@
<v-icon v-if="title" large left> <v-icon v-if="title" large left>
{{ displayTitleIcon }} {{ displayTitleIcon }}
</v-icon> </v-icon>
<v-toolbar-title class="headline"> {{ title }} </v-toolbar-title> <v-toolbar-title class="headline"> {{ title }} ({{ recipes.length }})</v-toolbar-title>
</slot> </slot>
<v-spacer></v-spacer> <v-spacer></v-spacer>
<v-btn :icon="$vuetify.breakpoint.xsOnly" text :disabled="recipes.length === 0" @click="navigateRandom"> <v-btn :icon="$vuetify.breakpoint.xsOnly" text :disabled="recipes.length === 0" @click="navigateRandom">