diff --git a/lib/features/department_detail_view/widgets/science_clubs_section.dart b/lib/features/department_detail_view/widgets/science_clubs_section.dart index 9c7ccd6d..bb46c54b 100644 --- a/lib/features/department_detail_view/widgets/science_clubs_section.dart +++ b/lib/features/department_detail_view/widgets/science_clubs_section.dart @@ -79,7 +79,9 @@ class _ScienceClubsList extends ConsumerWidget { child: BigPreviewCard( title: sciClub.name, shortDescription: sciClub.shortDescription ?? "", - directusUrl: sciClub.logo?.filename_disk, + directusUrl: (sciClub.useCoverAsPreviewPhoto ?? false) + ? sciClub.cover?.filename_disk + : sciClub.logo?.filename_disk, onClick: () async => ref.navigateSciClubsDetail(sciClub.id), ), );