From e1dd4124b7c72eda1fb5a1b926b5fabaad1c78ed Mon Sep 17 00:00:00 2001 From: iamsivin Date: Mon, 15 Dec 2025 22:05:56 +0530 Subject: [PATCH] chore: Improve widget attachment button display logic --- app/javascript/widget/components/ChatInputWrap.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/javascript/widget/components/ChatInputWrap.vue b/app/javascript/widget/components/ChatInputWrap.vue index c423ab220..28d14f1e5 100755 --- a/app/javascript/widget/components/ChatInputWrap.vue +++ b/app/javascript/widget/components/ChatInputWrap.vue @@ -46,8 +46,7 @@ export default { }), showAttachment() { return ( - this.shouldShowFilePicker && - this.hasAttachmentsEnabled && + (this.shouldShowFilePicker || this.hasAttachmentsEnabled) && this.userInput.length === 0 ); },