fix dialogs not closing properly

This commit is contained in:
Konstantin Schaper
2020-10-05 20:05:57 +02:00
parent 329ef794d4
commit fcbdb6c2f7
3 changed files with 3 additions and 0 deletions

View File

@@ -83,6 +83,7 @@ export const DeleteGroup: FC<Props> = ({ confirmDialog = true, group, history, t
onClick: () => null
}
]}
close={() => setShowConfirmAlert(false)}
/>
);
}

View File

@@ -79,6 +79,7 @@ const DeletePermissionButton: FC<Props> = ({
onClick: () => null
}
]}
close={() => setShowConfirmAlert(false)}
/>
);
}

View File

@@ -83,6 +83,7 @@ const DeleteUser: FC<Props> = ({ confirmDialog = true, loading, error, t, histor
onClick: () => null
}
]}
close={() => setShowConfirmAlert(false)}
/>
);
}