mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-16 13:58:13 +00:00
Update edit-project-dialog.component.ts
This commit is contained in:
@ -86,7 +86,7 @@ export class EditProjectDialogComponent implements OnInit {
|
|||||||
this.project.grid_size = this.formGroup.get('nodeGridSize').value;
|
this.project.grid_size = this.formGroup.get('nodeGridSize').value;
|
||||||
this.project.variables = this.variables;
|
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.projectService.update(this.server, this.project).subscribe((project: Project) => {
|
||||||
this.toasterService.success(`Project ${project.name} updated.`);
|
this.toasterService.success(`Project ${project.name} updated.`);
|
||||||
|
Reference in New Issue
Block a user