Update edit-project-dialog.component.ts

This commit is contained in:
piotrpekala7 2021-05-07 16:10:12 +02:00
parent 62c1f8b003
commit 12ba174dfa

View File

@ -86,7 +86,7 @@ export class EditProjectDialogComponent implements OnInit {
this.project.grid_size = this.formGroup.get('nodeGridSize').value;
this.project.variables = this.variables;
this.project.auto_close = !this.project.auto_close;
this.project.auto_close = !this.auto_close;
this.projectService.update(this.server, this.project).subscribe((project: Project) => {
this.toasterService.success(`Project ${project.name} updated.`);