We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a86741 commit cb1f945Copy full SHA for cb1f945
1 file changed
src/vs/workbench/browser/parts/titlebar/titlebarPart.ts
@@ -243,7 +243,7 @@ export class TitlebarPart extends Part implements ITitleService {
243
const activeEditorShort = editor ? editor.getTitle(Verbosity.SHORT) : '';
244
const activeEditorMedium = editor ? editor.getTitle(Verbosity.MEDIUM) : activeEditorShort;
245
const activeEditorLong = editor ? editor.getTitle(Verbosity.LONG) : activeEditorMedium;
246
- const rootName = root ? this.labelService.getWorkspaceLabel(workspace) : '';
+ const rootName = this.labelService.getWorkspaceLabel(workspace);
247
const rootPath = root ? this.labelService.getUriLabel(root) : '';
248
const folderName = folder ? folder.name : '';
249
const folderPath = folder ? this.labelService.getUriLabel(folder.uri) : '';
0 commit comments