Skip to content

Commit

Permalink
fix: worker labels not display
Browse files Browse the repository at this point in the history
  • Loading branch information
hibig committed Sep 9, 2024
1 parent ea2844e commit 21ef4e8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/components/label-selector/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const LabelSelector: React.FC<LabelSelectorProps> = ({
});
setLabelList(list);
}
console.log('labelsData=========', labelsData);
}, [labels]);

const handleLabelListChange = useCallback(
Expand Down
2 changes: 1 addition & 1 deletion src/pages/llmodels/components/advance-config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ const AdvanceConfig: React.FC<AdvanceConfigProps> = (props) => {
children
}
];
}, [scheduleType]);
}, [form, intl, gpuOptions, scheduleType, wokerSelector]);

return (
<Collapse
Expand Down
2 changes: 0 additions & 2 deletions src/pages/llmodels/components/update-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ const UpdateModal: React.FC<AddModalProps> = (props) => {
? props.data?.gpu_selector.gpu_name
: null
});

console.log('form.setFieldsValue', props.data, form.getFieldsValue());
}
};

Expand Down

0 comments on commit 21ef4e8

Please sign in to comment.