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