From c79305858ebf21b9253502439440060e00c4150a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Volds=C3=A6ter?= <ole.voldsater@uib.no> Date: Tue, 3 Mar 2020 10:05:23 +0100 Subject: [PATCH] fikset linker i sammensetningsrekker --- src/components/CompoundList.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/CompoundList.vue b/src/components/CompoundList.vue index 5f727577..d5cd17b1 100644 --- a/src/components/CompoundList.vue +++ b/src/components/CompoundList.vue @@ -4,7 +4,8 @@ <DefElement :body="body.intro" v-if="body.intro" /> <li :key="index" v-for="(item, index) in body.elements"> <router-link :to="item.article_id + (item.definition_id ? '#def'+item.definition_id : '')" @click.native="article_link_click(item)"> - {{item.lemmas.join(',')}}; + <span class="homograph" :key="index">{{item.lemmas[0].hgno ? String.fromCharCode(0x215f + item.lemmas[0].hgno) : ''}}</span> + {{item.lemmas[0].lemma}}; </router-link> </li> </ul> -- GitLab