Handle replay upload errors

This commit is contained in:
nise.moe 2024-03-05 12:46:02 +01:00
parent 79b314c4d8
commit 3bf6af6a3e

View File

@ -120,7 +120,8 @@ export class HomeComponent implements OnInit, OnDestroy {
this.loading = false;
this.router.navigate(['/c/' + response.id ]);
},
error: (error) => {
error: () => {
alert('Error uploading replay :(');
this.loading = false;
},
});