feat(frontend): added build tab to create service modal

pull/85/head
Samuel Rowe 3 years ago
parent 06a7158db9
commit aee2e07d84

@ -11,6 +11,7 @@ import {
getInitialValues, getInitialValues,
validationSchema validationSchema
} from "./form-utils"; } from "./form-utils";
import Build from "./Build";
import { styled } from "@mui/joy"; import { styled } from "@mui/joy";
interface IModalServiceProps { interface IModalServiceProps {
@ -42,6 +43,12 @@ const tabs = [
href: "#", href: "#",
current: false, current: false,
hidden: false hidden: false
},
{
name: "Build",
href: "#",
current: false,
hidden: false
} }
]; ];
@ -155,6 +162,7 @@ const ModalServiceCreate = (props: IModalServiceProps) => {
{openTab === "Environment" && <Environment />} {openTab === "Environment" && <Environment />}
{openTab === "Volumes" && <Volumes />} {openTab === "Volumes" && <Volumes />}
{openTab === "Labels" && <Labels />} {openTab === "Labels" && <Labels />}
{openTab === "Build" && <Build />}
</TabBody> </TabBody>
</div> </div>

Loading…
Cancel
Save