Skip to content

Commit

Permalink
Disable Seek Button Under Conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
Type-32 committed Feb 22, 2024
1 parent 2e3f9a7 commit 23b4c2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ onBeforeMount(() => {
<div class="join flex flex-row flex-grow">
<textarea class="textarea textarea-bordered join-item w-full h-full bg-transparent" :placeholder="$t('navbar.input.placeholder')" v-model="input"/>
<div class="join-item">
<button class="btn btn-neutral join-item h-full" @click="seek()">{{ $t('navbar.button.text') }}</button>
<button class="btn btn-neutral join-item h-full" :disabled="awaitingResponse || generatingResponse || input == ''" @click="seek()">{{ $t('navbar.button.text') }}</button>
</div>
</div>
</div>
Expand Down

0 comments on commit 23b4c2c

Please sign in to comment.