fixes after cr

This commit is contained in:
PiotrP 2018-11-14 00:50:00 -08:00
parent 618f966361
commit 39bc162414

View File

@ -38,7 +38,9 @@ export class AddBlankProjectDialogComponent implements OnInit {
} }
onAddClick() : void{ onAddClick() : void{
if (!this.projectNameForm.invalid){ if (this.projectNameForm.invalid){
return;
}
this.projectService this.projectService
.list(this.server) .list(this.server)
.subscribe((projects: Project[]) => { .subscribe((projects: Project[]) => {
@ -52,7 +54,6 @@ export class AddBlankProjectDialogComponent implements OnInit {
} }
}); });
} }
}
onNoClick() : void{ onNoClick() : void{
this.dialogRef.close(); this.dialogRef.close();