Skip to content

Commit

Permalink
fix cluster storage class dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
pnaik1 committed Dec 19, 2024
1 parent 14b1c4d commit ace1fa1
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 ace1fa1

Please sign in to comment.