fix empty instance bug

This commit is contained in:
Nicolas Constant 2020-02-14 21:21:37 -05:00
parent 6c7915e4b1
commit 3486b8eb14
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ export class AddNewAccountComponent implements OnInit {
}
onSubmit(): boolean {
if(this.isLoading) return false;
if(this.isLoading || !this.instance) return false;
this.isLoading = true;