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
@@ -79,7 +79,7 @@ class WorkspaceName extends Component {
if(this.state.projectType === 'gallery'){
this.saveGallery();
} else {
this.props.updateProject(this.props.projectType, this.props.project._id._id ? this.props.project._id._id : this.props.project._id);
this.props.updateProject(this.props.projectType, this.props.project._id);
}
} else {
this.setState({ snackbar: true, type: 'success', key: Date.now(), message: `Das Projekt wurde erfolgreich in '${this.state.name}' umbenannt.` });