X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/6cb43ce8d9ab8345a1b2a5abd961c7c134f5c607..72c12f527787181e4abb09fc968f07e795179c3c:/src/views/workbench/workbench.tsx diff --git a/src/views/workbench/workbench.tsx b/src/views/workbench/workbench.tsx index 96398c73..b543bef7 100644 --- a/src/views/workbench/workbench.tsx +++ b/src/views/workbench/workbench.tsx @@ -42,6 +42,8 @@ import { CreateCollectionDialog } from '../../views-components/create-collection import { CollectionPanel } from '../collection-panel/collection-panel'; import { loadCollection } from '../../store/collection-panel/collection-panel-action'; import { getCollectionUrl } from '../../models/collection'; +import { RemoveDialog } from '../../views-components/remove-dialog/remove-dialog'; +import { RenameDialog } from '../../views-components/rename-dialog/rename-dialog'; const drawerWidth = 240; const appBarHeight = 100; @@ -227,6 +229,8 @@ export const Workbench = withStyles(styles)( + + ) => ) => this.props.dispatch(loadCollection(collectionId, ResourceKind.COLLECTION))} onContextMenu={(event, item) => { this.openContextMenu(event, { @@ -267,7 +271,7 @@ export const Workbench = withStyles(styles)( case ResourceKind.COLLECTION: this.props.dispatch(loadCollection(item.uuid, item.kind as ResourceKind)); this.props.dispatch(push(getCollectionUrl(item.uuid))); - default: + default: this.props.dispatch(setProjectItem(item.uuid, ItemMode.ACTIVE)); this.props.dispatch(loadDetails(item.uuid, item.kind as ResourceKind)); }