mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-04 21:15:22 +02:00
feat: If only 1 shopping list, navigate straight to it (Shopping List QoL) (#3764)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
This commit is contained in:
parent
d923b4c7fa
commit
eb36912e5c
2 changed files with 22 additions and 2 deletions
|
@ -2,7 +2,16 @@
|
|||
<v-container v-if="shoppingList" class="md-container">
|
||||
<BasePageTitle divider>
|
||||
<template #header>
|
||||
<v-img max-height="100" max-width="100" :src="require('~/static/svgs/shopping-cart.svg')"></v-img>
|
||||
<v-container>
|
||||
<v-row>
|
||||
<v-col cols="3" class="text-left">
|
||||
<ButtonLink :to="`/shopping-lists?disableRedirect=true`" :text="$tc('general.back')" :icon="$globals.icons.backArrow" />
|
||||
</v-col>
|
||||
<v-col cols="6" class="d-flex justify-center">
|
||||
<v-img max-height="100" max-width="100" :src="require('~/static/svgs/shopping-cart.svg')"></v-img>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-container>
|
||||
</template>
|
||||
<template #title> {{ shoppingList.name }} </template>
|
||||
</BasePageTitle>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue