From 6c46c3713aa2686a5280fc331cee6a670ac55566 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Thu, 5 Aug 2021 08:32:06 +0200 Subject: [PATCH] All items filters selected by default, for now. --- frontend/App.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/frontend/App.vue b/frontend/App.vue index d262236..f244057 100644 --- a/frontend/App.vue +++ b/frontend/App.vue @@ -1342,9 +1342,10 @@ export default { this.clear_isa(); this.isa_list = response.data.isa_count; this.isa_list.forEach(isa => { - if (this.detail_qid || this.item_type_filters.length) { + this.isa_ticked.push(isa.qid); + /* if (this.detail_qid || this.item_type_filters.length) { this.isa_ticked.push(isa.qid); - } + } */ this.isa_labels[isa.qid] = isa.label; this.isa_lookup[isa.qid] = isa; }); @@ -1455,9 +1456,10 @@ export default { if (this.isa_lookup[isa.qid] === undefined) { this.isa_lookup[isa.qid] = isa; this.isa_list.push(isa); - if (this.detail_qid || this.item_type_filters.length) { + this.isa_ticked.push(isa.qid); + /* if (this.detail_qid || this.item_type_filters.length) { this.isa_ticked.push(isa.qid); - } + } */ } else { this.isa_lookup[isa.qid].count += 1; }