mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-23 08:55:32 +00:00
Update edit-project-dialog.component.ts
This commit is contained in:
@ -49,7 +49,9 @@ export class EditProjectDialogComponent implements OnInit {
|
|||||||
this.formGroup.controls['height'].setValue(this.project.scene_height);
|
this.formGroup.controls['height'].setValue(this.project.scene_height);
|
||||||
this.formGroup.controls['nodeGridSize'].setValue(this.project.grid_size);
|
this.formGroup.controls['nodeGridSize'].setValue(this.project.grid_size);
|
||||||
this.formGroup.controls['drawingGridSize'].setValue(this.project.drawing_grid_size);
|
this.formGroup.controls['drawingGridSize'].setValue(this.project.drawing_grid_size);
|
||||||
this.project.variables.forEach(n => this.variables.push(n));
|
if (this.project.variables) {
|
||||||
|
this.project.variables.forEach(n => this.variables.push(n));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
addVariable() {
|
addVariable() {
|
||||||
|
Reference in New Issue
Block a user