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 eccf51e commit 0365f9bCopy full SHA for 0365f9b
webview-ui/src/components/common/ImageViewer.tsx
@@ -158,7 +158,6 @@ export function ImageViewer({
158
if (path.startsWith("./")) return path
159
// If it's an absolute path, extract the relative portion
160
// Look for workspace patterns - match the last segment after any directory separator
161
- // This handles various workspace names without hardcoding specific patterns
162
const workspaceMatch = path.match(/\/([^/]+)\/(.+)$/)
163
if (workspaceMatch && workspaceMatch[2]) {
164
// Return relative path from what appears to be the workspace root
0 commit comments