fix empty instance bug
This commit is contained in:
parent
6c7915e4b1
commit
3486b8eb14
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue