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

Fix style for article references with definitions

parent 340b2c48
No related branches found
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@ var Definition = {
this.$emit('article-click', 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";
}
......
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