mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 06:37:56 +01:00
Propagate success flag.
This commit is contained in:
parent
e6e3bc2655
commit
819428651e
@ -27,8 +27,8 @@ type ActionDialogProps = {
|
||||
};
|
||||
|
||||
const ActionDispatcher = ({ mapsId, action, onClose, fromEditor }: ActionDialogProps): React.ReactElement => {
|
||||
const handleOnClose = (): void => {
|
||||
onClose();
|
||||
const handleOnClose = (success?: boolean): void => {
|
||||
onClose(success);
|
||||
};
|
||||
|
||||
switch (action) {
|
||||
|
Loading…
Reference in New Issue
Block a user