diff options
| author | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-01-30 21:32:40 +0200 |
|---|---|---|
| committer | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-01-30 21:32:40 +0200 |
| commit | b4211aaa5d024cddd3a1d285edbee6f67d71b9fd (patch) | |
| tree | cc873a7a912a19a7af27f1cc5285c491408dc20c | |
| parent | c9ef07bc23e1187ce06471120dc5d3b325e06869 (diff) | |
| download | DevHive-b4211aaa5d024cddd3a1d285edbee6f67d71b9fd.tar DevHive-b4211aaa5d024cddd3a1d285edbee6f67d71b9fd.tar.gz DevHive-b4211aaa5d024cddd3a1d285edbee6f67d71b9fd.zip | |
Fixed "Cannot read property 'hideMsg' of undefined" profile settings page error
| -rw-r--r-- | src/DevHive.Angular/src/app/components/profile-settings/profile-settings.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DevHive.Angular/src/app/components/profile-settings/profile-settings.component.ts b/src/DevHive.Angular/src/app/components/profile-settings/profile-settings.component.ts index 1f17fe1..e348b8b 100644 --- a/src/DevHive.Angular/src/app/components/profile-settings/profile-settings.component.ts +++ b/src/DevHive.Angular/src/app/components/profile-settings/profile-settings.component.ts @@ -126,8 +126,8 @@ export class ProfileSettingsComponent implements OnInit { .then(value => this.updateUserFormGroup.patchValue({ technologyInput : value })); this.updateUserFormGroup.valueChanges.subscribe(() => { - this._successBar.hideMsg(); - this._errorBar.hideError(); + this._successBar?.hideMsg(); + this._errorBar?.hideError(); }); } |
