fix: gpu selector edit same key
This commit is contained in:
@@ -56,7 +56,7 @@ const UpdateModal: React.FC<AddModalProps> = (props) => {
|
|||||||
return {
|
return {
|
||||||
...item,
|
...item,
|
||||||
label: item.name,
|
label: item.name,
|
||||||
value: item.name
|
value: `${item.worker_name}-${item.name}-${item.index}`
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
setGpuOptions(list);
|
setGpuOptions(list);
|
||||||
|
|||||||
Reference in New Issue
Block a user