mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-25 16:19:43 +02:00
Bug/fix infinite loop (#512)
* fix infinite loop with safe get method * fix ingredients Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
parent
2dc9c8e843
commit
af41b08a60
7 changed files with 88 additions and 47 deletions
|
@ -12,12 +12,6 @@
|
|||
|
||||
<v-form @submit.prevent="login">
|
||||
<v-card-text>
|
||||
<v-text-field
|
||||
v-if="!options.isLoggingIn"
|
||||
v-model="user.name"
|
||||
prepend-icon="person"
|
||||
:label="$t('general.name')"
|
||||
></v-text-field>
|
||||
<v-text-field
|
||||
v-model="user.email"
|
||||
prepend-icon="mdi-email"
|
||||
|
@ -35,12 +29,10 @@
|
|||
@click:append="showPassword = !showPassword"
|
||||
></v-text-field>
|
||||
<v-card-actions>
|
||||
<v-btn v-if="options.isLoggingIn" color="primary" block="block" type="submit"
|
||||
>{{ $t("user.sign-in") }}
|
||||
</v-btn>
|
||||
<v-btn v-if="options.isLoggingIn" color="primary" block large type="submit">{{ $t("user.sign-in") }} </v-btn>
|
||||
</v-card-actions>
|
||||
|
||||
<v-alert v-if="error" outlined class="mt-3 mb-0" type="error">
|
||||
<v-alert v-if="error" class="mt-3 mb-0" type="error">
|
||||
{{ $t("user.could-not-validate-credentials") }}
|
||||
</v-alert>
|
||||
</v-card-text>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue