Skip to content

Commit

Permalink
Merge pull request #335 from rahulramakrishnan3/release-2.5.0
Browse files Browse the repository at this point in the history
bug fix 1131, 1129 hotfix
  • Loading branch information
kiranharidas187 authored Dec 15, 2023
2 parents 9592624 + a5b34bb commit 274d91c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/app/app.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
margin-left: 20px;
overflow: hidden;
overflow-y: auto;
scrollbar-width: none !important;
}

.sub-menu-list{
Expand Down
4 changes: 2 additions & 2 deletions src/app/pages/tabs/profile/profile.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public buttonConfig = {
}
this.formData.data = this.user;
this.formData.data.emailId = this.user.email.address;
this.formData.data.organizationName = this.user.organization.name;
this.formData.data.organizationName = this.user?.organization?.name;
this.isMentor = this.profileService.isMentor;
if (!this.formData?.data?.about) {
(!this.visited && !this.formData.data.deleted)?this.router.navigate([CommonRoutes.EDIT_PROFILE]):null;
Expand Down Expand Up @@ -129,7 +129,7 @@ public buttonConfig = {
if(result){
this.formData.data = result;
this.formData.data.emailId = result.email;
this.formData.data.organizationName = this.user.organization.name;
this.formData.data.organizationName = this.user.organization?.name;
}
}
}

0 comments on commit 274d91c

Please sign in to comment.