From 215f362af65b08f4cabde7dd8d781d7d8362ebbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Volds=C3=A6ter?= <ole.voldsater@uib.no> Date: Tue, 11 Feb 2020 11:31:36 +0100 Subject: [PATCH] =?UTF-8?q?refs=20meta#30=20minimal=20b=C3=B8yningstabell?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Header.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/Header.vue b/src/components/Header.vue index bbb73181..655bad1b 100644 --- a/src/components/Header.vue +++ b/src/components/Header.vue @@ -2,15 +2,15 @@ <VueTooltipster :showClosebutton="false"> <h1>{{header_text}}</h1><span class="word-classification">{{group_list}}</span> <div slot="content" class="tooltip"> - <div v-for="lemma in lemmas"> - <h4>{{lemma.word}}</h4> - <table v-for="grp in lemma.inflection_groups"> + <div v-for="(lemma, index) in lemmas" :key="index"> + <h4>{{lemma.lemma}}</h4> + <table v-for="(std, index) in lemma.standardisations" :key="index"> <tr> - <th rowspan="2">{{grp.group_designation}}</th> - <th v-for="form in grp.forms">{{form}}</th> + <th rowspan="2">{{std.tags.join(', ')}}</th> + <th v-for="(inflection, index) in std.inflection" :key="index">{{inflection.tags.join(', ')}}</th> </tr> <tr> - <td v-for="inflection in grp.inflections">{{inflection}}</td> + <td v-for="(inflection, index) in std.inflection" :key="index">{{inflection.word_form}}</td> </tr> </table> </div> -- GitLab