Various styling and small QoL improvements

This commit is contained in:
grimsi
2022-08-05 10:26:01 +02:00
parent 7f2e77c8bc
commit 8ee217bbe8
12 changed files with 160 additions and 85 deletions
@@ -20,17 +20,15 @@ export class ErrorInterceptor implements HttpInterceptor {
this.dialogService.showErrorDialog(err.error.message);
}
break;
case 401:
this.dialogService.showErrorDialog(err.error.message);
break;
case 409:
case 500:
case 401:
this.dialogService.showErrorDialog(err.error.message);
this.dialogService.showErrorDialog(err.error.message);
break;
case 503:
case 504:
this.dialogService.showErrorDialog('Can\'t reach the backend at the moment.\n' +
'Please ensure that the backend is running and try again');
this.dialogService.showErrorDialog(`Can't reach the backend at the moment.<br>Please ensure that the backend is running and reload this page`);
break;
}
return throwError(err);