We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24e4830 commit 9aa147eCopy full SHA for 9aa147e
src/util/workspace.ts
@@ -117,7 +117,8 @@ async function updateDevfileContext(_: unknown) {
117
}),
118
);
119
const foldersArray = devfileFolders.map(folder => folder.name);
120
- void commands.executeCommand('setContext', 'ext.folderContainsDevfile', foldersArray);
+ void commands.executeCommand('setContext', 'ext.folderContainsDevfile', foldersArray)
121
+ .then(() => void commands.executeCommand('openshift.componentsView.refresh'));
122
}
123
124
/**
0 commit comments