link to recipe in property editor

This commit is contained in:
vabene1111
2025-03-21 19:08:17 +01:00
parent d6839c5dfa
commit 05472b5a29

View File

@@ -3,7 +3,11 @@
<v-card :loading="recipeLoading || propertyTypesLoading">
<v-card-title>{{ $t('Property_Editor') }}</v-card-title>
<v-card-text>
<model-select append-to-body model="Recipe" v-model="recipe" @update:model-value="loadRecipe(recipe.id!)"></model-select>
<model-select append-to-body model="Recipe" v-model="recipe" @update:model-value="loadRecipe(recipe.id!)">
<template #append>
<v-btn icon="fa-solid fa-arrow-up-right-from-square" :to="{name : 'RecipeViewPage', params: {id: recipe.id }}" v-if="recipe != undefined"></v-btn>
</template>
</model-select>
</v-card-text>
</v-card>
<v-row>