diff options
| author | Ron Lucke <lucke@elan-ev.de> | 2025-01-20 12:35:39 +0000 |
|---|---|---|
| committer | Ron Lucke <lucke@elan-ev.de> | 2025-01-20 12:35:39 +0000 |
| commit | 8760271247efabba2f785d060c4ca77624115a8c (patch) | |
| tree | b8bc208606305e7633f1c3a980310739e012597d | |
| parent | 7413c31fcbcf5f6bc7f10f2458a562656706f31c (diff) | |
Inhaltsverzeichnis-Block zeigt Seite in Kachelansicht nicht an
Closes #5158
Merge request studip/studip!3860
| -rw-r--r-- | resources/vue/components/courseware/blocks/CoursewareTableOfContentsBlock.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/vue/components/courseware/blocks/CoursewareTableOfContentsBlock.vue b/resources/vue/components/courseware/blocks/CoursewareTableOfContentsBlock.vue index eef8c73..868b3ed 100644 --- a/resources/vue/components/courseware/blocks/CoursewareTableOfContentsBlock.vue +++ b/resources/vue/components/courseware/blocks/CoursewareTableOfContentsBlock.vue @@ -11,7 +11,7 @@ :class="['cw-block-table-of-contents-' + currentStyle]"> <li v-for="child in childElementsWithTasks" :key="child.id"> <router-link :to="'/structural_element/' + child.id"> - <div class="cw-block-table-of-contents-title-box" :class="[child.attributes.payload.color]"> + <div class="cw-block-table-of-contents-title-box" :class="[child.attributes.payload.color ?? 'studip-blue']"> {{ child.attributes.title }} <span v-if="child.attributes.purpose === 'task'"> | {{ child.solverName }}</span> <p v-if="currentStyle === 'list-details'"> @@ -27,7 +27,7 @@ ? child.attributes.title + ' | ' + child.solverName : child.attributes.title "> - <courseware-tile tag="div" :color="child.attributes.payload.color" + <courseware-tile tag="div" :color="child.attributes.payload.color ?? 'studip-blue'" :title="child.attributes.title" :imageUrl="getChildImageUrl(child)" > <template v-if="child.attributes.purpose === 'task'" #image-overlay> |
