From 54345e6a9ac9ceef78cd2cd37ee759df279258a9 Mon Sep 17 00:00:00 2001 From: Jonathan Weth <git@jonathanweth.de> Date: Tue, 20 Aug 2024 07:04:31 +0000 Subject: [PATCH] Remove impossible condition branch --- .../documentation/DocumentationCompactDetails.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aleksis/apps/alsijil/frontend/components/coursebook/documentation/DocumentationCompactDetails.vue b/aleksis/apps/alsijil/frontend/components/coursebook/documentation/DocumentationCompactDetails.vue index e1e5b92dc..6bfa946e1 100644 --- a/aleksis/apps/alsijil/frontend/components/coursebook/documentation/DocumentationCompactDetails.vue +++ b/aleksis/apps/alsijil/frontend/components/coursebook/documentation/DocumentationCompactDetails.vue @@ -4,21 +4,21 @@ <div class="font-weight-medium mr-2"> {{ $t("alsijil.coursebook.summary.topic.label") }}: </div> - <div class="text-truncate">{{ documentation.topic || "–" }}</div> + <div class="text-truncate">{{ documentation.topic }}</div> </template> <template v-if="documentation.homework"> <div class="font-weight-medium mr-2"> {{ $t("alsijil.coursebook.summary.homework.label") }}: </div> - <div class="text-truncate">{{ documentation.homework || "–" }}</div> + <div class="text-truncate">{{ documentation.homework }}</div> </template> <template v-if="documentation.groupNote"> <div class="font-weight-medium mr-2"> {{ $t("alsijil.coursebook.summary.group_note.label") }}: </div> - <div class="text-truncate">{{ documentation.groupNote || "–" }}</div> + <div class="text-truncate">{{ documentation.groupNote }}</div> </template> </v-card> </template> -- GitLab