first try on delete user

This commit is contained in:
Florian Scholdei
2019-01-18 13:42:11 +01:00
parent 8f340ceab0
commit 71fc38dd1d
6 changed files with 17 additions and 14 deletions

View File

@@ -10,6 +10,7 @@ import {
validation as validator
} from "@scm-manager/ui-components";
import * as userValidator from "./userValidation";
import DeleteUser from "./DeleteUser";
type Props = {
submitForm: User => void,
@@ -153,6 +154,9 @@ class UserForm extends React.Component<Props, State> {
label={t("user-form.submit")}
/>
</div>
<div className="column">
<DeleteUser user={user} />
</div>
</div>
</form>
);