chore: init worker selector

This commit is contained in:
jialin
2025-03-25 17:58:01 +08:00
parent f882fe2c32
commit 8f6c1d0e47
7 changed files with 25 additions and 18 deletions
-1
View File
@@ -78,7 +78,6 @@ export const useGenerateFormEditInitialValues = () => {
const formData = {
...result.values,
..._.omit(data, result.omits),
categories: data?.categories?.length ? data.categories[0] : null,
scheduleType: data?.gpu_selector ? 'manual' : 'auto',
gpu_selector: data?.gpu_selector?.gpu_ids?.length