mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 17:26:22 +01:00
fixed failing tests
This commit is contained in:
@@ -46,7 +46,7 @@ class DeleteUserButton extends React.Component<Props> {
|
||||
const action = confirmDialog ? this.confirmDelete : this.deleteUser;
|
||||
|
||||
if (!this.isDeletable()) {
|
||||
return;
|
||||
return null;
|
||||
}
|
||||
return (
|
||||
<DeleteButton label="Delete" action={action} loading={entry.loading} />
|
||||
|
||||
Reference in New Issue
Block a user