From 567d52c573fe1de4335197e38ed5d1d9366a2772 Mon Sep 17 00:00:00 2001 From: Miguel Serrano Date: Thu, 17 Jun 2021 13:47:34 +0200 Subject: [PATCH] Merge pull request #4222 from overleaf/ae-project-owner-id-path Fix project owner id path in scope GitOrigin-RevId: 5ea74a01d9feb584c4cb78b620d2f2854ee45e3f --- services/web/frontend/js/shared/context/editor-context.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/frontend/js/shared/context/editor-context.js b/services/web/frontend/js/shared/context/editor-context.js index 13a6829f43..1c7a40a789 100644 --- a/services/web/frontend/js/shared/context/editor-context.js +++ b/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 [compileGroup] = useScopeValue('project.features.compileGroup') const [rootFolder] = useScopeValue('rootFolder') - const [ownerId] = useScopeValue('project.owner.id') + const [ownerId] = useScopeValue('project.owner._id') const renameProject = useCallback( newName => {