import { ProjectResource } from 'models/project';
import { NotFoundView } from 'views/not-found-panel/not-found-panel';
import { deselectAllOthers, toggleOne } from 'store/multiselect/multiselect-actions';
-import { DetailsCard } from 'views-components/details-card';
+import { ProjectDetailsCard } from 'views-components/project-details-card/project-details-card';
type CssRules = 'root' | 'button';
connect(mapStateToProps)(
class extends React.Component<ProjectPanelProps> {
render() {
- const { classes, userUuid, currentItemId } = this.props;
+ const { classes } = this.props;
return this.props.project ?
<div data-cy='project-panel' className={classes.root}>
- {currentItemId !== userUuid && <DetailsCard />}
+ <ProjectDetailsCard />
<DataExplorer
id={PROJECT_PANEL_ID}
onRowClick={this.handleRowClick}