mirror of
https://github.com/makeplane/plane.git
synced 2026-07-13 14:01:45 +02:00
Merge pull request #1486 from makeplane/sync/11326207307
sync: community changes
This commit is contained in:
@@ -78,9 +78,16 @@ export const IssueAttachmentActionButton: FC<Props> = observer((props) => {
|
||||
});
|
||||
|
||||
return (
|
||||
<button {...getRootProps()} type="button" disabled={disabled}>
|
||||
<input {...getInputProps()} />
|
||||
{customButton ? customButton : <Plus className="h-4 w-4" />}
|
||||
</button>
|
||||
<div
|
||||
onClick={(e) => {
|
||||
// TODO: Remove extra div and move event propagation to button
|
||||
e.stopPropagation();
|
||||
}}
|
||||
>
|
||||
<button {...getRootProps()} type="button" disabled={disabled}>
|
||||
<input {...getInputProps()} />
|
||||
{customButton ? customButton : <Plus className="h-4 w-4" />}
|
||||
</button>
|
||||
</div>
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user