diff --git a/frontend/src/resources/build/components/config.tsx b/frontend/src/resources/build/components/config.tsx index c84f730b7..a727996cf 100644 --- a/frontend/src/resources/build/components/config.tsx +++ b/frontend/src/resources/build/components/config.tsx @@ -5,8 +5,42 @@ import { ConfigLayout } from "@layouts/page"; import { Types } from "@monitor/client"; import { Button } from "@ui/button"; import { Card, CardHeader, CardTitle, CardContent } from "@ui/card"; +import { + Select, + SelectContent, + SelectItem, + SelectTrigger, + SelectValue, +} from "@ui/select"; import { useState } from "react"; +export const GithubAccountSelector = ({ + selected, + onSelect, +}: { + selected: string | undefined; + onSelect: (id: string) => void; +}) => { + const accpunts = useRead("GetAvailableAccounts", {}).data; + return ( +
+
Github Account
+ +
+ ); +}; + const BuildConfigInner = ({ id, config, @@ -26,7 +60,7 @@ const BuildConfigInner = ({ >
- {["general", "repo", "docker", "volumes"].map((item) => ( + {["general", "docker", "volumes"].map((item) => (