17573: Always include 'default' storage class in the list.
[arvados-workbench2.git] / src / common / config.ts
index 7a98fd4722a49cb49094f126b46620c741e72592..28d4855b47ea7f51c5f702d026fb86edaeb258dd 100644 (file)
@@ -138,7 +138,7 @@ export const buildConfig = (clusterConfig: ClusterConfigJSON): Config => {
 };
 
 export const getStorageClasses = (config: Config): string[] => {
-    const classes: Set<string> = new Set();
+    const classes: Set<string> = new Set(['default']);
     const volumes = config.clusterConfig.Volumes;
     Object.keys(volumes).forEach(v => {
         Object.keys(volumes[v].StorageClasses || {}).forEach(sc => {