mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #3541 from overleaf/ta-root-doc-setting-fix
Set Null Default Value for rootDoc_id GitOrigin-RevId: 7aa14f20f137f77f7d620a39b5d8f34b13a93e65
This commit is contained in:
parent
26143d13d3
commit
87d08c8fa8
1 changed files with 2 additions and 1 deletions
|
@ -438,7 +438,8 @@ Something went wrong connecting to your project. Please refresh if this continue
|
|||
this.$scope.$apply(() => {
|
||||
this.updateConnectionManagerState('ready')
|
||||
this.$scope.protocolVersion = protocolVersion
|
||||
this.$scope.project = project
|
||||
const defaultProjectAttributes = { rootDoc_id: null }
|
||||
this.$scope.project = { ...defaultProjectAttributes, ...project }
|
||||
this.$scope.permissionsLevel = permissionsLevel
|
||||
this.ide.loadingManager.socketLoaded()
|
||||
this.$scope.$broadcast('project:joined')
|
||||
|
|
Loading…
Reference in a new issue