fix LLM explainer for sentence: section + example sentences

This commit is contained in:
polv committed 2026-09-06 10:19:52 +07:00
1 parent daa5c73cec
commit dd36c6fc93
4 files changed
+7 -5

No files matched your search

@@ -187,9 +187,11 @@ const example = computed(() => {
return ex[exIndex.value] || null;
});
const sent_ko = computed(
() => (example.value?.ko || fmKey !== "vocabulary" ? v.value?.ko : "") || "",
);
const sent_ko = computed(() => {
if (example.value) return example.value.ko || "";
if (fmKey === "vocabulary") return "";
return v.value?.ko || "";
});
const MAX_VOC = 5;