fixed failing tests

This commit is contained in:
Sebastian Sdorra
2018-07-18 09:48:59 +02:00
parent 837824c0e3
commit 10e38c4f84
3 changed files with 46 additions and 32 deletions

View File

@@ -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} />