mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-11 01:43:23 +01:00
Fix export stop propagation
This commit is contained in:
parent
53ec19ffb5
commit
5d107ef841
@ -85,11 +85,13 @@ const ShareDialog = ({ mapId, onClose }: SimpleDialogProps): React.ReactElement
|
|||||||
const name = event.target.name;
|
const name = event.target.name;
|
||||||
const value = event.target.value;
|
const value = event.target.value;
|
||||||
setModel({ ...model, [name as keyof ShareModel]: value });
|
setModel({ ...model, [name as keyof ShareModel]: value });
|
||||||
|
event.stopPropagation();
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleOnAddClick = (event: React.MouseEvent<HTMLButtonElement, MouseEvent>): void => {
|
const handleOnAddClick = (event: React.MouseEvent<HTMLButtonElement, MouseEvent>): void => {
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
addMutation.mutate(model);
|
addMutation.mutate(model);
|
||||||
|
event.stopPropagation();
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleOnDeleteClick = (
|
const handleOnDeleteClick = (
|
||||||
|
Loading…
Reference in New Issue
Block a user