Skip to content

Commit c47c1f0

Browse files
committed
Allow to create storage for pushed and not-pushed components
Signed-off-by: Denis Golovin <[email protected]>
1 parent 5140f1a commit c47c1f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/openshift/storage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class Storage extends OpenShiftItem {
1515
"In which Project you want to create a Storage",
1616
"In which Application you want to create a Storage",
1717
"In which Component you want to create a Storage",
18-
(value: OpenShiftObject) => value.contextValue === ContextType.COMPONENT_PUSHED);
18+
(value: OpenShiftObject) => value.contextValue === ContextType.COMPONENT_PUSHED || value.contextValue === ContextType.COMPONENT);
1919
if (!component) return null;
2020
const storageList: Array<OpenShiftObject> = await OpenShiftItem.odo.getStorageNames(component);
2121
const storageName = await Storage.getName('Storage name', storageList);

0 commit comments

Comments
 (0)