mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-04-05 12:35:35 -04:00
fix: Fix create token API page (#7325)
This commit is contained in:
@@ -16,10 +16,13 @@
|
||||
</BasePageTitle>
|
||||
<section class="d-flex justify-center">
|
||||
<v-card
|
||||
class="mt-4"
|
||||
class="mt-4 pa-4"
|
||||
width="100%"
|
||||
flat
|
||||
>
|
||||
<v-card-title class="px-0">
|
||||
{{ $t("settings.token.create-an-api-token") }}
|
||||
</v-card-title>
|
||||
<v-card-text class="px-0">
|
||||
<v-form
|
||||
ref="domNewTokenForm"
|
||||
@@ -148,8 +151,7 @@ async function createToken(name: string) {
|
||||
|
||||
loading.value = true;
|
||||
|
||||
if (domNewTokenForm?.value?.validate()) {
|
||||
console.log("Created");
|
||||
if (!domNewTokenForm?.value?.validate()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user