fix: Only display name editable when editing storage and storage type

This commit is contained in:
jialin
2026-06-17 12:35:24 +08:00
committed by jialin
parent aa49539210
commit ac64bb98ad
3 changed files with 16 additions and 4 deletions
+2 -2
View File
@@ -325,7 +325,7 @@ const Clusters: React.FC = () => {
providerHint?: string;
presetClusterType?: 'model' | 'gpu';
}>({
providerHint: '',
providerHint: undefined,
presetClusterType: undefined
});
@@ -343,7 +343,7 @@ const Clusters: React.FC = () => {
const handleClusterModalClose = () => {
setPendingProviderHint({
providerHint: '',
providerHint: undefined,
presetClusterType: undefined
});
closeClusterModal();