mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-04-24 21:09:40 +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{
|
||||
if (!this.projectNameForm.invalid){
|
||||
this.projectService
|
||||
if (this.projectNameForm.invalid){
|
||||
return;
|
||||
}
|
||||
this.projectService
|
||||
.list(this.server)
|
||||
.subscribe((projects: Project[]) => {
|
||||
const projectName = this.projectNameForm.controls['projectName'].value;
|
||||
@ -51,7 +53,6 @@ export class AddBlankProjectDialogComponent implements OnInit {
|
||||
this.addProject();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
onNoClick() : void{
|
||||
|
Loading…
x
Reference in New Issue
Block a user