Skip to content

Commit

Permalink
fix cluster storage class dropdown (#3593)
Browse files Browse the repository at this point in the history
  • Loading branch information
pnaik1 authored Dec 20, 2024
1 parent f9ac99e commit 73402db
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ const StorageClassSelect: React.FC<StorageClassSelectProps> = ({
};
});

if (storageClassesLoaded && !hasStorageClassConfigs) {
return null;
}

return hasStorageClassConfigs ? (
<FormGroup label="Storage class" fieldId="storage-class">
<SimpleSelect
Expand Down

0 comments on commit 73402db

Please sign in to comment.