Bugfix/workspace name case mismatch (#6560)

* fix: preserve workspace name casing in title bar (#6522)

* fix: improve workspace display name handling in title bar

---------

Co-authored-by: Uzairkazi695 <kaziuzair695@gmail.com>
This commit is contained in:
Abhishek S Lal
2026-01-12 23:15:39 +05:30
committed by GitHub
parent 071ee9ab2e
commit 59ff9bdafb
6 changed files with 35 additions and 36 deletions

View File

@@ -217,7 +217,7 @@ const readWorkspaceConfig = (workspacePath) => {
const generateYamlContent = (config) => {
const yamlLines = [];
const workspaceName = config.info?.name || config.name || 'Unnamed Workspace';
const workspaceName = config.info?.name || config.name || 'Untitled Workspace';
const workspaceType = config.info?.type || config.type || WORKSPACE_TYPE;
yamlLines.push(`opencollection: ${config.opencollection || OPENCOLLECTION_VERSION}`);