feat(ui): disable publish button (#3085)

This commit is contained in:
Ayo Ayco 2024-12-14 08:29:49 +01:00 committed by GitHub
parent fb411e89f4
commit fa6c8a8fa1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -522,6 +522,7 @@ function stopQuestionMarkPropagation(e: KeyboardEvent) {
v-if="!threadIsActive || isFinalItemOfThread"
btn-solid rounded-3 text-sm w-full flex="~ gap1" items-center md:w-fit class="publish-button"
:aria-disabled="isPublishDisabled || isExceedingCharacterLimit" aria-describedby="publish-tooltip"
:disabled="isPublishDisabled || isExceedingCharacterLimit"
@click="publish"
>
<span v-if="isSending" block animate-spin preserve-3d>