From af80066baa3fa47de1738a7f052eb6682107f1a9 Mon Sep 17 00:00:00 2001 From: Denis Golovin Date: Fri, 20 Mar 2020 19:41:32 -0700 Subject: [PATCH] Allow to create storage for pushed and not-pushed components Signed-off-by: Denis Golovin --- src/openshift/storage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);