From 9c83c4edd92c3053f0d5254bcbfc424b01e5a969 Mon Sep 17 00:00:00 2001 From: EwoutV Date: Tue, 9 Apr 2024 11:10:47 +0200 Subject: [PATCH] chore: linting --- frontend/src/components/courses/CourseGeneralCard.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/courses/CourseGeneralCard.vue b/frontend/src/components/courses/CourseGeneralCard.vue index 59ca2f2d..a2bb3ac2 100644 --- a/frontend/src/components/courses/CourseGeneralCard.vue +++ b/frontend/src/components/courses/CourseGeneralCard.vue @@ -25,10 +25,12 @@ const images = Object.keys( * @param faculty */ function getFacultyIcon(faculty: Faculty): string { - return images.find((image) => { - image = image.replace('/src/assets/img/faculties/', ''); - return image === faculty.id + '.png'; - }) ?? ''; + return ( + images.find((image) => { + image = image.replace('/src/assets/img/faculties/', ''); + return image === faculty.id + '.png'; + }) ?? '' + ); }