From fa6c8a8fa14cfed4b82fcf0b884dde327edf631f Mon Sep 17 00:00:00 2001
From: Ayo Ayco <ramon.aycojr@gmail.com>
Date: Sat, 14 Dec 2024 08:29:49 +0100
Subject: [PATCH] feat(ui): disable publish button (#3085)

---
 components/publish/PublishWidget.vue | 1 +
 1 file changed, 1 insertion(+)

diff --git a/components/publish/PublishWidget.vue b/components/publish/PublishWidget.vue
index bec6b4de..c0964cc0 100644
--- a/components/publish/PublishWidget.vue
+++ b/components/publish/PublishWidget.vue
@@ -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>