We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5140f1a commit c47c1f0Copy full SHA for c47c1f0
src/openshift/storage.ts
@@ -15,7 +15,7 @@ export class Storage extends OpenShiftItem {
15
"In which Project you want to create a Storage",
16
"In which Application you want to create a Storage",
17
"In which Component you want to create a Storage",
18
- (value: OpenShiftObject) => value.contextValue === ContextType.COMPONENT_PUSHED);
+ (value: OpenShiftObject) => value.contextValue === ContextType.COMPONENT_PUSHED || value.contextValue === ContextType.COMPONENT);
19
if (!component) return null;
20
const storageList: Array<OpenShiftObject> = await OpenShiftItem.odo.getStorageNames(component);
21
const storageName = await Storage.getName('Storage name', storageList);
0 commit comments