Explorar el Código

Merge pull request #4189 from overleaf/ae-project-id

Fix id for newly-created projects in browser

GitOrigin-RevId: 75e8963163979fa11bbf581c2fcf541697346341
Jakob Ackermann hace 5 años
padre
commit
41f2974612
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      services/web/frontend/js/main/project-list/project-list.js

+ 1 - 1
services/web/frontend/js/main/project-list/project-list.js

@@ -444,7 +444,7 @@ App.controller('ProjectPageController', function (
         const { data } = response
         $scope.projects.push({
           name,
-          _id: data.project_id,
+          id: data.project_id,
           accessLevel: 'owner',
           owner: data.owner,
           // TODO: Check access level if correct after adding it in