fix: typescript errors

This commit is contained in:
Baptiste Grob
2020-08-12 14:43:56 +02:00
parent 0c1f3d43d1
commit 2fb6adb6ea
31 changed files with 233 additions and 1463 deletions

View File

@@ -167,8 +167,8 @@ class PasswordWizardCtrl extends PureViewCtrl implements PasswordWizardScope {
});
if (!success) {
this.application.alertService!.alert(
response!.error.message
? response!.error.message
response?.error?.message
? response.error.message
: "There was an error changing your password. Please try again."
);
this.setFormDataState({