diff --git a/portal-ui/src/screens/Console/Common/ObjectManager/ObjectManager.tsx b/portal-ui/src/screens/Console/Common/ObjectManager/ObjectManager.tsx index eb1923af8..71e338203 100644 --- a/portal-ui/src/screens/Console/Common/ObjectManager/ObjectManager.tsx +++ b/portal-ui/src/screens/Console/Common/ObjectManager/ObjectManager.tsx @@ -28,6 +28,7 @@ import { deleteFromList, } from "../../ObjectBrowser/objectBrowserSlice"; import clsx from "clsx"; +import VirtualizedList from "../VirtualizedList/VirtualizedList"; const styles = (theme: Theme) => createStyles({ @@ -66,6 +67,7 @@ const styles = (theme: Theme) => overflowX: "hidden", minHeight: 250, maxHeight: 335, + height: "100%", width: "100%", display: "flex", flexDirection: "column", @@ -98,6 +100,16 @@ const ObjectManager = ({ classes }: IObjectManager) => { const anonymousMode = useSelector( (state: AppState) => state.system.anonymousMode ); + + function renderObject(index: number) { + return ( + dispatch(deleteFromList(instanceID))} + /> + ); + } + return ( {managerOpen && ( @@ -123,15 +135,11 @@ const ObjectManager = ({ classes }: IObjectManager) => {
Downloads / Uploads
- {objects.map((object, key) => ( - - dispatch(deleteFromList(instanceID)) - } - /> - ))} +
)}