diff --git a/src/components/ConfigSelector.tsx b/src/components/ConfigSelector.tsx index 6e2097a..e381983 100644 --- a/src/components/ConfigSelector.tsx +++ b/src/components/ConfigSelector.tsx @@ -1,7 +1,7 @@ "use client"; import { useState, useCallback } from "react"; -import { Select, Button, Space, App } from "antd"; +import { Select, Button, Space, Flex, App } from "antd"; import { EditOutlined, PlusOutlined } from "@ant-design/icons"; import { ConfigModal } from "./ConfigModal"; import { getConfig } from "@/services/config"; @@ -97,25 +97,27 @@ export function ConfigSelector({ return ( <> - - ({ + value: c.file, + label: c.name, + }))} + /> + + + - + } - size="large" onClick={() => setPublishOpen(true)} disabled={!selectedConfig} >