diff --git a/src/components/Article.vue b/src/components/Article.vue index 3cfe1338e4ca85bcba62a1ff2eb16606f40e7deb..e468fcbc651f1dd2fb9c27e0914467b9a785a5eb 100644 --- a/src/components/Article.vue +++ b/src/components/Article.vue @@ -76,13 +76,14 @@ export default { }, data: function() { return { - collapsed: this.$parent.results_bm.length > 1 || this.$parent.results_bm.length > 1 + collapsed: this.$parent.$options.name == 'SearchResults' && (this.$parent.results_bm.length + this.$parent.results_nn.length > 2) } }, computed: { collapsable: function() { - return this.$parent.results_bm.length > 1 || this.$parent.results_bm.length > 1 + console.log(this.$parent.$options.name) + return this.$parent.$options.name == 'SearchResults' && (this.$parent.results_bm.length + this.$parent.results_nn.length > 2) }, link_to_self: function() {