diff --git a/gui-js/apps/minsky-electron/src/app/managers/CommandsManager.ts b/gui-js/apps/minsky-electron/src/app/managers/CommandsManager.ts index 65f29b43e..1619bbd63 100644 --- a/gui-js/apps/minsky-electron/src/app/managers/CommandsManager.ts +++ b/gui-js/apps/minsky-electron/src/app/managers/CommandsManager.ts @@ -606,7 +606,7 @@ export class CommandsManager { WindowManager.createPopupWindowWithRouting({ width: 500, height: 650, - title: `Edit ${name} || ''}`, + title: `Edit ${name || ''}`, url: `#/headless/menu/insert/create-variable?type=${type}&name=${encodeURIComponent(name)||''}&isEditMode=true&local=${local}`, }); }