1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-24 15:49:42 +02:00

feat: Added a dedicated cookmode dialog that allows for individual scrolling (#4464)

This commit is contained in:
Tarek Auf der Strasse 2024-11-11 12:21:44 +01:00 committed by GitHub
parent 65c35adc9d
commit d419acd61e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 190 additions and 87 deletions

View file

@ -4,6 +4,7 @@
:value="recipe.recipeIngredient"
:scale="scale"
:disable-amount="recipe.settings.disableAmount"
:is-cook-mode="isCookMode"
/>
<div v-if="!isEditMode && recipe.tools && recipe.tools.length > 0">
<h2 class="mb-2 mt-4">{{ $t('tool.required-tools') }}</h2>
@ -46,6 +47,10 @@ export default defineComponent({
type: Number,
required: true,
},
isCookMode: {
type: Boolean,
default: false,
}
},
setup(props) {
const { isOwnGroup } = useLoggedInState();