fix: profile 2

This commit is contained in:
Alex
2024-12-11 14:22:00 +03:00
parent 4b2e642b9d
commit 728c362e24
4 changed files with 16 additions and 14 deletions

View File

@@ -487,7 +487,7 @@ class _ProfileScreenState extends State<ProfileScreen> {
child: Column(
children: [
if (state.profile.educationResource?.completedCourses != null)
...state.profile.educationResource!.completedCourses!.map((c) => _educationBlock(c.title, c.date)).toList(),
...state.profile.educationResource!.completedCourses!.map((c) => _educationBlock(c.values.first.title, c.values.first.date)).toList(),
],
),
),