mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 16:35:45 +01:00
fix dialogs not closing properly
This commit is contained in:
@@ -83,6 +83,7 @@ export const DeleteGroup: FC<Props> = ({ confirmDialog = true, group, history, t
|
|||||||
onClick: () => null
|
onClick: () => null
|
||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
|
close={() => setShowConfirmAlert(false)}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -79,6 +79,7 @@ const DeletePermissionButton: FC<Props> = ({
|
|||||||
onClick: () => null
|
onClick: () => null
|
||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
|
close={() => setShowConfirmAlert(false)}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -83,6 +83,7 @@ const DeleteUser: FC<Props> = ({ confirmDialog = true, loading, error, t, histor
|
|||||||
onClick: () => null
|
onClick: () => null
|
||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
|
close={() => setShowConfirmAlert(false)}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user