mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-25 05:19:43 +00:00
fixes after cr
This commit is contained in:
parent
618f966361
commit
39bc162414
@ -38,8 +38,10 @@ export class AddBlankProjectDialogComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onAddClick() : void{
|
onAddClick() : void{
|
||||||
if (!this.projectNameForm.invalid){
|
if (this.projectNameForm.invalid){
|
||||||
this.projectService
|
return;
|
||||||
|
}
|
||||||
|
this.projectService
|
||||||
.list(this.server)
|
.list(this.server)
|
||||||
.subscribe((projects: Project[]) => {
|
.subscribe((projects: Project[]) => {
|
||||||
const projectName = this.projectNameForm.controls['projectName'].value;
|
const projectName = this.projectNameForm.controls['projectName'].value;
|
||||||
@ -50,8 +52,7 @@ export class AddBlankProjectDialogComponent implements OnInit {
|
|||||||
} else {
|
} else {
|
||||||
this.addProject();
|
this.addProject();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
onNoClick() : void{
|
onNoClick() : void{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user