chore: Improve widget attachment button display logic
This commit is contained in:
@@ -46,8 +46,7 @@ export default {
|
||||
}),
|
||||
showAttachment() {
|
||||
return (
|
||||
this.shouldShowFilePicker &&
|
||||
this.hasAttachmentsEnabled &&
|
||||
(this.shouldShowFilePicker || this.hasAttachmentsEnabled) &&
|
||||
this.userInput.length === 0
|
||||
);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user