fix: volume mounts default empty
This commit is contained in:
@@ -60,7 +60,7 @@ const VolumeMountsForm: React.FC<{ action: PageActionType }> = ({ action }) => {
|
||||
|
||||
useEffect(() => {
|
||||
if (action === PageAction.CREATE) {
|
||||
form.setFieldValue('k8s_volume_mounts', volumeList);
|
||||
form.setFieldValue('k8s_volume_mounts', []);
|
||||
}
|
||||
}, [action]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user