From 59ecb3f9fa76100e245b7a07c11c35d8c820240b Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Thu, 22 Jul 2021 17:04:37 +0200 Subject: [PATCH] All item types ticked when qid is in URL --- frontend/App.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/App.vue b/frontend/App.vue index 037b82e..857722d 100644 --- a/frontend/App.vue +++ b/frontend/App.vue @@ -1283,6 +1283,7 @@ export default { this.clear_isa(); this.isa_list = response.data.isa_count; this.isa_list.forEach(isa => { + if (this.detail_qid) this.isa_ticked.push(isa.qid); this.isa_labels[isa.qid] = isa.label; this.isa_lookup[isa.qid] = isa; }); @@ -1385,6 +1386,7 @@ 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.isa_ticked.push(isa.qid); } else { this.isa_lookup[isa.qid].count += 1; }