parent
3e02fd1aa6
commit
33a29d4735
1 changed files with 11 additions and 0 deletions
|
@ -2,6 +2,7 @@ import React from "react";
|
|||
import {
|
||||
AlertVariant,
|
||||
Button,
|
||||
ButtonVariant,
|
||||
Form,
|
||||
FormGroup,
|
||||
Modal,
|
||||
|
@ -73,6 +74,16 @@ export const GroupsModal = ({
|
|||
>
|
||||
{t(rename ? "rename" : "create")}
|
||||
</Button>,
|
||||
<Button
|
||||
id="modal-cancel"
|
||||
key="cancel"
|
||||
variant={ButtonVariant.secondary}
|
||||
onClick={() => {
|
||||
handleModalToggle();
|
||||
}}
|
||||
>
|
||||
{t("common:cancel")}
|
||||
</Button>,
|
||||
]}
|
||||
>
|
||||
<Form id="group-form" isHorizontal onSubmit={handleSubmit(submitForm)}>
|
||||
|
|
Loading…
Reference in a new issue