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

fix suggestion conditions

parent 0d403306
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
</div>
<div id="above_results">
<div id="suggestions" v-if="inflection_suggestions && !article">Se også <em>{{$route.query.q}}</em> som bøyd form av
<div id="suggestions" v-if="!article && inflection_suggestions && inflection_suggestions.length">Se også <em>{{$route.query.q}}</em> som bøyd form av
<span v-for="(item,index) in inflection_suggestions" :key="index"><router-link :to="generate_path(item[0])" @click.native="select_suggestion(item[0])">{{item[0]}}</router-link>{{index == inflection_suggestions.length? '.' : ', '}}</span>
</div>
......
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