moved header out of "cook mode" conditional block (#1556)

This commit is contained in:
Michael Genson 2022-08-14 11:04:09 -05:00 committed by GitHub
parent 3b45da274c
commit 5cfff75dbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,9 +58,9 @@
</v-card>
</v-dialog>
<div v-if="showCookMode" class="d-flex justify-space-between justify-start">
<div class="d-flex justify-space-between justify-start">
<h2 class="mb-4 mt-1">{{ $t("recipe.instructions") }}</h2>
<BaseButton v-if="!public && !edit" minor cancel color="primary" @click="toggleCookMode()">
<BaseButton v-if="!public && !edit && showCookMode" minor cancel color="primary" @click="toggleCookMode()">
<template #icon>
{{ $globals.icons.primary }}
</template>