mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-05 15:19:02 +02: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:
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user