Skip to content

Commit 5065d46

Browse files
authored
Merge pull request #238 from CapstoneProjectCMC/feature/ulr-user-learning-resources
fix profile
2 parents 7e7be7d + 44bfbe5 commit 5065d46

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/app/features/profile/component/updateform/profile-popup/update-profile.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ export class UpdateProfileComponent {
6969
displayName: string = '';
7070
firstName: string = '';
7171
lastName: string = '';
72-
selectedEducation: any = null;
73-
selectedGender: any = null;
72+
selectedEducation: any = { value: 9, label: 'Khác' };
73+
selectedGender: any = { value: 'other', label: 'Khác' };
7474
dob: string = ''; // ngày sinh dạng string để bind với datetime-local
7575
originalDob: string = '';
7676
bio: string = '';
@@ -116,6 +116,7 @@ export class UpdateProfileComponent {
116116
this.gender = [
117117
{ value: 'false', label: 'Nam' },
118118
{ value: 'true', label: 'Nữ' },
119+
{ value: 'other', label: 'Khác' },
119120
];
120121
}
121122

0 commit comments

Comments
 (0)