mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 23:15:43 +01:00
first try on delete user
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user