adjustment of the project object property 'shared'

This commit is contained in:
Delucse
2020-12-08 20:15:54 +01:00
parent 3cf7f10d34
commit a4cf0d32b0
6 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ class DeleteProject extends Component {
<Tooltip title='Projekt löschen' arrow>
<IconButton
className={this.props.classes.buttonTrash}
onClick={() => this.props.deleteProject(this.props.projectType, this.props.project._id._id ? this.props.project._id._id : this.props.project._id)}
onClick={() => this.props.deleteProject(this.props.projectType, this.props.project._id)}
>
<FontAwesomeIcon icon={faTrashAlt} size="xs" />
</IconButton>