From 1d128f56f963fbdd257e0b7e30cf8f06c4db37e1 Mon Sep 17 00:00:00 2001 From: nove-b Date: Fri, 18 Jul 2025 18:19:28 +0900 Subject: [PATCH] fix(ui): Publish button for threaded posts allows multiple click (#3333) --- app/components/publish/PublishWidget.vue | 10 +++++----- app/composables/thread.ts | 5 +++++ 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/app/components/publish/PublishWidget.vue b/app/components/publish/PublishWidget.vue index 8c25f239..5ece7fc1 100644 --- a/app/components/publish/PublishWidget.vue +++ b/app/components/publish/PublishWidget.vue @@ -29,7 +29,7 @@ const emit = defineEmits<{ const { t } = useI18n() -const { threadItems, threadIsActive, publishThread } = threadComposer ?? useThreadComposer(draftKey) +const { threadItems, threadIsActive, publishThread, threadIsSending } = threadComposer ?? useThreadComposer(draftKey) const draft = computed({ get: () => threadItems.value[draftItemIndex], @@ -577,18 +577,18 @@ const detectLanguage = useDebounceFn(async () => {