mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #1165 from sharelatex/ja-fix-undefined-id-error
Fixes an undefined _id error when looking for project owner for new project GitOrigin-RevId: 6ad5230380431b4a5866088911ce27175633dbbb
This commit is contained in:
parent
0f1c732d15
commit
392be7cb44
1 changed files with 4 additions and 1 deletions
|
@ -393,7 +393,10 @@ define(['base'], function(App) {
|
|||
$scope.projects.push({
|
||||
name,
|
||||
_id: data.project_id,
|
||||
accessLevel: 'owner'
|
||||
accessLevel: 'owner',
|
||||
owner: {
|
||||
_id: window.user_id
|
||||
}
|
||||
// TODO: Check access level if correct after adding it in
|
||||
// to the rest of the app
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue