@lvce-editor/panel-worker 2.13.4 → 2.13.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/panelWorkerMain.js +2 -1
- package/package.json +1 -1
package/dist/panelWorkerMain.js
CHANGED
|
@@ -1851,9 +1851,10 @@ const handleFilterInput = async (state, value) => {
|
|
|
1851
1851
|
};
|
|
1852
1852
|
|
|
1853
1853
|
const remoteSshWorkspacePrefix = 'remote-ssh://';
|
|
1854
|
+
const devContainerWorkspacePrefix = 'devcontainers:///';
|
|
1854
1855
|
const getPanelViews = (workspaceUri = '') => {
|
|
1855
1856
|
const views = [Problems, Output, DebugConsole, Terminals];
|
|
1856
|
-
if (workspaceUri.startsWith(remoteSshWorkspacePrefix)) {
|
|
1857
|
+
if (workspaceUri.startsWith(remoteSshWorkspacePrefix) || workspaceUri.startsWith(devContainerWorkspacePrefix)) {
|
|
1857
1858
|
views.push(Ports);
|
|
1858
1859
|
}
|
|
1859
1860
|
return views;
|