Skip to content
Snippets Groups Projects
Verified Commit fb4e19bb authored by Julian's avatar Julian Committed by Jonathan Weth
Browse files

Display lesson titles if no course is set

parent b6f6eaf0
No related branches found
No related tags found
1 merge request!376Resolve "Improve displaying of events without course/subject"
Pipeline #191562 failed
...@@ -35,8 +35,10 @@ query documentationsForCoursebook( ...@@ -35,8 +35,10 @@ query documentationsForCoursebook(
} }
amends { amends {
id id
title
amends { amends {
id id
title
teachers { teachers {
id id
shortName shortName
......
...@@ -24,7 +24,11 @@ import PersonChip from "aleksis.core/components/person/PersonChip.vue"; ...@@ -24,7 +24,11 @@ import PersonChip from "aleksis.core/components/person/PersonChip.vue";
'font-weight-medium': largeGrid, 'font-weight-medium': largeGrid,
}" }"
> >
{{ documentation.course?.name }} {{
documentation.course?.name ||
documentation.amends.title ||
documentation.amends.amends.title
}}
</span> </span>
<div <div
:class="{ :class="{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment