Skip to content
Snippets Groups Projects
Commit 83568084 authored by Henrik Askjer's avatar Henrik Askjer
Browse files

refactor

parent 9d2d4dfa
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div class="inflection-wrapper" v-if="inflected && !$parent.collapsed"> <div class="inflection-wrapper" v-if="inflected && !$parent.collapsed">
<v-btn class="show-inflection" width="160px" rounded depressed small @click.native="toggle" :class="$vuetify.breakpoint.name"> <v-btn class="show-inflection" width="160px" rounded depressed small @click.native="toggle" :class="$vuetify.breakpoint.name">
<span>{{this.inflection_expanded? $t('article.hide_inflection'):$t('article.show_inflection')}}</span><span class = "inflection-arrow"><v-icon right>{{inflection_arrow}}</v-icon></span> <span>{{this.inflection_expanded? $t('article.hide_inflection'):$t('article.show_inflection')}}</span><span class = "inflection-arrow"><v-icon right>{{this.inflection_expanded? "expand_less" : "expand_more"}}</v-icon></span>
</v-btn> </v-btn>
<div class="inflection-canvas" v-if="inflection_expanded"> <div class="inflection-canvas" v-if="inflection_expanded">
<inflectionTable :lemmaList="lemmas_with_word_class_and_lang" :mq="$vuetify.breakpoint.name" /> <inflectionTable :lemmaList="lemmas_with_word_class_and_lang" :mq="$vuetify.breakpoint.name" />
...@@ -27,12 +27,6 @@ export default { ...@@ -27,12 +27,6 @@ export default {
article_id: Number article_id: Number
}, },
computed: { computed: {
inflect_tooltip: function() {
return this.dictionary == 'bm' ? 'Klikk for å se bøyinger' : 'Klikk for å sjå bøyingar'
},
inflection_arrow: function() {
return this.inflection_expanded? "expand_less" : "expand_more"
},
group_list: function() { group_list: function() {
return helpers.group_list(this.lemmas, this.dictionary) return helpers.group_list(this.lemmas, this.dictionary)
}, },
......
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