fix: ignore the sort_by when no data

This commit is contained in:
jialin
2025-12-22 11:57:57 +08:00
parent 45efda7f1d
commit e3b3f51e87
19 changed files with 35 additions and 33 deletions
@@ -25,6 +25,7 @@ const ClusterAdvanceConfig: React.FC<{
return editorRef.current?.getValue();
},
setYamlValue: (values: any) => {
console.log('setYamlValue:', values);
editorRef.current?.setValue(values || yamlTemplate);
}
}));