diff --git a/src/subapps/studioLegacy/containers/StudioContainer.tsx b/src/subapps/studioLegacy/containers/StudioContainer.tsx index 1e8bb07b5..a951a7870 100644 --- a/src/subapps/studioLegacy/containers/StudioContainer.tsx +++ b/src/subapps/studioLegacy/containers/StudioContainer.tsx @@ -2,6 +2,7 @@ import * as React from 'react'; import { Resource } from '@bbp/nexus-sdk/es'; import { useNexusContext, AccessControl } from '@bbp/react-nexus'; import { Empty, message } from 'antd'; +import { omitBy } from 'lodash'; import { useHistory } from 'react-router'; import omitBy from 'lodash/omitBy'; diff --git a/src/subapps/studioLegacy/containers/WorkspaceMenuContainer.tsx b/src/subapps/studioLegacy/containers/WorkspaceMenuContainer.tsx index fd5fc81d9..9ca0a81d7 100644 --- a/src/subapps/studioLegacy/containers/WorkspaceMenuContainer.tsx +++ b/src/subapps/studioLegacy/containers/WorkspaceMenuContainer.tsx @@ -15,7 +15,7 @@ import { import PromisePool from '@supercharge/promise-pool'; import { ItemType } from 'antd/lib/menu/hooks/useItems'; import { useQuery } from 'react-query'; -import { find, orderBy } from 'lodash'; +import { find, omitBy, orderBy } from 'lodash'; import useNotification from '../../../shared/hooks/useNotification'; import EditTableForm from '../../../shared/components/EditTableForm'; import DashboardEditorContainer from './DashBoardEditor/DashboardEditorContainer';