chore: Improve widget attachment button display logic

This commit is contained in:
iamsivin
2025-12-15 22:05:56 +05:30
parent 3fce56c98f
commit e1dd4124b7
@@ -46,8 +46,7 @@ export default {
}),
showAttachment() {
return (
this.shouldShowFilePicker &&
this.hasAttachmentsEnabled &&
(this.shouldShowFilePicker || this.hasAttachmentsEnabled) &&
this.userInput.length === 0
);
},