feat: add provider menu

This commit is contained in:
jialin
2026-02-03 18:21:08 +08:00
parent cb5413c2ce
commit 2dfdd4a0d9
21 changed files with 701 additions and 7 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ import { GPU_DEVICES_API, queryGpuDevicesList } from '../apis';
import { GPUDeviceItem } from '../config/types';
import useGPUColumns from '../hooks/use-gpu-columns';
const GPUList: React.FC<{ clusterId?: number; widths: { input: number } }> = ({
const GPUList: React.FC<{ clusterId?: number; widths?: { input: number } }> = ({
clusterId,
widths
}) => {
+1 -1
View File
@@ -27,7 +27,7 @@ import UpdateLabels from './update-labels';
import WorkerDetailModal from './worker-detail-modal';
const Workers: React.FC<{
clusterId: string | number | null;
clusterId?: string | number | null;
showSelect?: boolean;
showAddButton?: boolean;
widths?: { input: number };