fix bug on settings page

This commit is contained in:
Emily
2025-03-11 15:14:37 +01:00
parent be82f7046f
commit d1b3e997c1

View File

@@ -172,7 +172,7 @@ function copyProjectId() {
<LyxUiInput class="grow px-4 py-2" :disabled="isGuest" placeholder="ApiKeyName"
v-model="newApiKeyName">
</LyxUiInput>
<LyxUiButton v-if="!isGuest" @click="createApiKey()" :disabled="newApiKeyName.length.trim() < 3"
<LyxUiButton v-if="!isGuest" @click="createApiKey()" :disabled="newApiKeyName.trim().length < 3"
type="primary">
<i class="far fa-plus"></i>
</LyxUiButton>