diff --git a/frontend/src/Editor/Editor.jsx b/frontend/src/Editor/Editor.jsx index 1010e8cd9a..159c58ab52 100644 --- a/frontend/src/Editor/Editor.jsx +++ b/frontend/src/Editor/Editor.jsx @@ -54,6 +54,7 @@ class Editor extends React.Component { email: currentUser.email, firstName: currentUser.first_name, lastName: currentUser.last_name, + groups: currentUser?.group_permissions.map((group) => group.group), }; } diff --git a/frontend/src/Editor/LeftSidebar/SidebarInspector.jsx b/frontend/src/Editor/LeftSidebar/SidebarInspector.jsx index 15145439ff..bad0a99520 100644 --- a/frontend/src/Editor/LeftSidebar/SidebarInspector.jsx +++ b/frontend/src/Editor/LeftSidebar/SidebarInspector.jsx @@ -63,7 +63,7 @@ export const LeftSidebarInspector = ({ darkMode, globals, components, queries }) collapsed={true} displayObjectSize={false} quotesOnKeys={false} - sortKeys={true} + sortKeys={false} // indentWidth={1} />