Skip to content
Snippets Groups Projects
Commit f1e4c800 authored by Petr.Kalashnikov's avatar Petr.Kalashnikov
Browse files

Merge branch 'fix_reference_with_definition' into 'master'

Fix style for article references with definitions

See merge request spraksamlingane/beta.ordbok.uib.no!34
parents 340b2c48 9f694e50
No related branches found
No related tags found
No related merge requests found
...@@ -66,7 +66,7 @@ var Definition = { ...@@ -66,7 +66,7 @@ var Definition = {
this.$emit('article-click', item) this.$emit('article-click', item)
}, },
has_article_ref: function(item){ has_article_ref: function(item){
if(item.items.length && item.items[0].type_ == "article_ref") if(item.items.length && item.items[0].type_ == "article_ref" && item.items[0].definition_id === undefined)
{ {
return "true"; return "true";
} }
......
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