diff --git a/src/components/Header.vue b/src/components/Header.vue index 4a4a3f4f69909accaef0a78c056a7a5094436c6b..4d8472216706d8fa8e881c30d789f0563cc8cabf 100644 --- a/src/components/Header.vue +++ b/src/components/Header.vue @@ -8,7 +8,7 @@ <div class="inflection"> <div v-for="(lemma, index) in lemmas" :key="index"> <h4>{{lemma.lemma}}</h4> - <table v-for="(std, index) in lemma.standardisations" :key="index"> + <table v-for="(std, index) in lemma.paradigm_info" :key="index"> <tr> <th rowspan="2">{{std.tags ? std.tags.join(', ') : ''}}</th> <th v-for="(inflection, index) in std.inflection" :key="index">{{inflection.tags.join(', ')}}</th> diff --git a/src/utils/helpers.js b/src/utils/helpers.js index ef5b90d74b31032e994cd6656c33d6096cec1930..a76d0f62fc8cf21949f92cc81aa041eacde7a80a 100644 --- a/src/utils/helpers.js +++ b/src/utils/helpers.js @@ -1,7 +1,7 @@ var group_list = function(grps) { var grp_collection = new Set() grps.forEach(function(lemma){ - lemma.standardisations.forEach(function(grp){ + lemma.paradigm_info.forEach(function(grp){ if (grp.tags){ grp_collection.add(grp.tags[0] == 'subst' ? grp.tags[0] + ',' + grp.tags[1] : grp.tags[0]) }