Explorar o código

Merge pull request #4222 from overleaf/ae-project-owner-id-path

Fix project owner id path in scope

GitOrigin-RevId: 5ea74a01d9feb584c4cb78b620d2f2854ee45e3f
Miguel Serrano %!s(int64=5) %!d(string=hai) anos
pai
achega
567d52c573
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      services/web/frontend/js/shared/context/editor-context.js

+ 1 - 1
services/web/frontend/js/shared/context/editor-context.js

@@ -53,7 +53,7 @@ export function EditorProvider({ children, settings }) {
   const [projectName, setProjectName] = useScopeValue('project.name')
   const [projectName, setProjectName] = useScopeValue('project.name')
   const [compileGroup] = useScopeValue('project.features.compileGroup')
   const [compileGroup] = useScopeValue('project.features.compileGroup')
   const [rootFolder] = useScopeValue('rootFolder')
   const [rootFolder] = useScopeValue('rootFolder')
-  const [ownerId] = useScopeValue('project.owner.id')
+  const [ownerId] = useScopeValue('project.owner._id')
 
 
   const renameProject = useCallback(
   const renameProject = useCallback(
     newName => {
     newName => {