When displaying workspace paths in the tasks list, the previous code showed the full path which could include a tail segment (e.g., a filename or last folder). This change strips the last path segment for non-WebDAV workspaces so the UI presents the parent directory instead, improving clarity for users who expect to see the workspace root rather than a trailing item. Fix fallback rendering of workspace path The previous change grouped the nullish coalescing incorrectly, which caused the fallback empty string to be applied to the result of replace(...) rather than to ws?.path. This could lead to rendering 'undefined' or leaving the replace expression unresolved when ws.path is nullish. Adjust the expression so the nullish fallback applies to ws?.path, ensuring a clean empty string fallback when no path is present. |
||
|---|---|---|
| .. | ||
| src | ||
| src-tauri | ||
| .gitignore | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| svelte.config.js | ||
| tsconfig.json | ||
| vite.config.ts | ||