aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-01-30 21:32:40 +0200
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-01-30 21:32:40 +0200
commitb4211aaa5d024cddd3a1d285edbee6f67d71b9fd (patch)
treecc873a7a912a19a7af27f1cc5285c491408dc20c /src
parentc9ef07bc23e1187ce06471120dc5d3b325e06869 (diff)
downloadDevHive-b4211aaa5d024cddd3a1d285edbee6f67d71b9fd.tar
DevHive-b4211aaa5d024cddd3a1d285edbee6f67d71b9fd.tar.gz
DevHive-b4211aaa5d024cddd3a1d285edbee6f67d71b9fd.zip
Fixed "Cannot read property 'hideMsg' of undefined" profile settings page error
Diffstat (limited to 'src')
-rw-r--r--src/DevHive.Angular/src/app/components/profile-settings/profile-settings.component.ts4
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();
});
}