diff --git a/src/openshift/storage.ts b/src/openshift/storage.ts index 64369a8d8..10d57d0f7 100644 --- a/src/openshift/storage.ts +++ b/src/openshift/storage.ts @@ -15,7 +15,7 @@ export class Storage extends OpenShiftItem { "In which Project you want to create a Storage", "In which Application you want to create a Storage", "In which Component you want to create a Storage", - (value: OpenShiftObject) => value.contextValue === ContextType.COMPONENT_PUSHED); + (value: OpenShiftObject) => value.contextValue === ContextType.COMPONENT_PUSHED || value.contextValue === ContextType.COMPONENT); if (!component) return null; const storageList: Array = await OpenShiftItem.odo.getStorageNames(component); const storageName = await Storage.getName('Storage name', storageList);