diff --git a/src/components/Article.vue b/src/components/Article.vue index a510e351a453d8cd1a0a0e78769190f053f992d4..aba6fa12d69a93484b1364e0daadac333233c8a3 100644 --- a/src/components/Article.vue +++ b/src/components/Article.vue @@ -100,8 +100,10 @@ export default { if (collapsable == 'auto') { this.is_collapsed = this.$parent.$options.name == 'SearchResults' && (this.$parent.results_bm.length + this.$parent.results_nn.length > 2) } + console.log(this.$parent.$options.name == 'SearchResults' && (this.$parent.results_bm.length + this.$parent.results_nn.length > 2)) - return this.$store.state.collapseArticles == 'always' || this.is_collapsed//getters.collapsable(this.$parent.$options.name, this.$parent.results_bm.length + this.$parent.results_nn.length) + + return this.$store.state.collapseArticles == 'always' || this.$parent.$options.name == 'SearchResults' && (this.$parent.results_bm.length + this.$parent.results_nn.length > 2)//getters.collapsable(this.$parent.$options.name, this.$parent.results_bm.length + this.$parent.results_nn.length) }, collapsed: { get() {