13494: Adds content to the "versions" tab on collection's details panel.
[arvados-workbench2.git] / src / views-components / collection-panel-files / collection-panel-files.ts
index 9859f84b9de2d0af578d90526f936ad30951b7f4..91420edb52e19932b7e5ea29756f1bdb5a3fb504 100644 (file)
@@ -75,7 +75,7 @@ const mapDispatchToProps = (dispatch: Dispatch): Pick<CollectionPanelFilesProps,
         dispatch<any>(openCollectionFilesContextMenu(event, isWritable));
     },
     onFileClick: (id) => {
-        dispatch(openDetailsPanel(id));
+        dispatch<any>(openDetailsPanel(id));
     },
 });