Handle replay upload errors
This commit is contained in:
parent
79b314c4d8
commit
3bf6af6a3e
@ -120,7 +120,8 @@ export class HomeComponent implements OnInit, OnDestroy {
|
|||||||
this.loading = false;
|
this.loading = false;
|
||||||
this.router.navigate(['/c/' + response.id ]);
|
this.router.navigate(['/c/' + response.id ]);
|
||||||
},
|
},
|
||||||
error: (error) => {
|
error: () => {
|
||||||
|
alert('Error uploading replay :(');
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user