From ace1fa1e3621181ca7cbd9bc79fb0d23df8fda92 Mon Sep 17 00:00:00 2001 From: pnaik1 Date: Thu, 19 Dec 2024 16:01:02 +0530 Subject: [PATCH] fix cluster storage class dropdown --- .../projects/screens/spawner/storage/StorageClassSelect.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/pages/projects/screens/spawner/storage/StorageClassSelect.tsx b/frontend/src/pages/projects/screens/spawner/storage/StorageClassSelect.tsx index b24848b32b..960c53543d 100644 --- a/frontend/src/pages/projects/screens/spawner/storage/StorageClassSelect.tsx +++ b/frontend/src/pages/projects/screens/spawner/storage/StorageClassSelect.tsx @@ -88,6 +88,10 @@ const StorageClassSelect: React.FC = ({ }; }); + if (storageClassesLoaded && !hasStorageClassConfigs) { + return null; + } + return hasStorageClassConfigs ? (