mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
disable quickimport if no data is present
This commit is contained in:
@@ -186,7 +186,7 @@
|
||||
<v-btn @click="stepper = (parseInt(stepper) - 1).toString()">Zurück</v-btn>
|
||||
</template>
|
||||
<template #next>
|
||||
<v-btn @click="createRecipeFromImport()" color="success" :disabled="false" v-if="stepper == '1'">{{$t('Import')}}</v-btn>
|
||||
<v-btn @click="createRecipeFromImport()" color="success" :disabled="Object.keys(importResponse).length == 0" v-if="stepper == '1'">{{$t('Import')}}</v-btn>
|
||||
<v-btn @click="stepper = (parseInt(stepper) + 1).toString()" :disabled="Object.keys(importResponse).length == 0" v-if="stepper != '5'">
|
||||
{{stepper == '1' ? $t('Edit') : $t('Next')}}
|
||||
</v-btn>
|
||||
|
||||
Reference in New Issue
Block a user