Skip to content
Snippets Groups Projects
Commit c7930585 authored by Ole Voldsæter's avatar Ole Voldsæter
Browse files

fikset linker i sammensetningsrekker

parent 6d1077fc
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
<DefElement :body="body.intro" v-if="body.intro" /> <DefElement :body="body.intro" v-if="body.intro" />
<li :key="index" v-for="(item, index) in body.elements"> <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)"> <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> </router-link>
</li> </li>
</ul> </ul>
......
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