This commit is contained in:
team3
2026-06-17 23:17:52 +02:00
parent dce9156ac8
commit 3c839861e7
7 changed files with 28 additions and 159 deletions

View File

@@ -5,7 +5,6 @@ import { renderMarkdown } from '../markdown.js'
import { useChat } from '../composables/useChat.js'
import BausteinPanel from './BausteinPanel.vue'
import BausteinFokus from './BausteinFokus.vue'
import SubbausteinView from './SubbausteinView.vue'
const props = defineProps({
previewGuide: { type: Object, default: null },
@@ -200,8 +199,7 @@ function extractContext() {
<span v-else-if="lernstand[s.title]?.verstanden" class="baustein-done verstanden" title="Vollständig verstanden (10/10)"> Verstanden</span>
<span v-else-if="lernstand[s.title]?.absolviert" class="baustein-done" title="Prüfung bestanden"> Absolviert</span>
</h3>
<div v-if="isOnePager || !s.subbausteine?.length" class="section-body markdown" v-html="renderMarkdown(s.md)"></div>
<SubbausteinView v-else class="section-body" :subbausteine="s.subbausteine" :md="s.md" />
<div class="section-body markdown" v-html="renderMarkdown(s.md)"></div>
<BausteinPanel
v-if="!isOnePager"
mode="trigger"