mirror of
https://github.com/enso-org/enso.git
synced 2024-12-23 21:01:51 +03:00
Fix opening projects with arbitrary name (#8012)
related #7973 Fixes opening the projects with names that are not in Upper_Snake_Case. # Important Notes https://github.com/enso-org/enso/assets/357683/ea820658-5dee-474a-9dce-201d09796af7
This commit is contained in:
parent
bbd1652727
commit
11997e9344
@ -144,6 +144,7 @@ export default function Editor(props: EditorProps) {
|
||||
},
|
||||
startup: {
|
||||
project: project.packageName,
|
||||
displayedProjectName: project.name,
|
||||
},
|
||||
window: {
|
||||
topBarOffset: `${TOP_BAR_X_OFFSET_PX}`,
|
||||
|
@ -194,7 +194,7 @@ export class LocalBackend extends backend.Backend {
|
||||
jsonAddress: ipWithSocketToAddress(cachedProject.languageServerJsonAddress),
|
||||
binaryAddress: ipWithSocketToAddress(cachedProject.languageServerBinaryAddress),
|
||||
organizationId: '',
|
||||
packageName: cachedProject.projectName,
|
||||
packageName: cachedProject.projectNormalizedName,
|
||||
projectId,
|
||||
state: {
|
||||
type: backend.ProjectState.opened,
|
||||
|
@ -104,6 +104,7 @@ export interface OpenProject {
|
||||
languageServerJsonAddress: IpWithSocket
|
||||
languageServerBinaryAddress: IpWithSocket
|
||||
projectName: ProjectName
|
||||
projectNormalizedName: string
|
||||
projectNamespace: string
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user