All item types ticked when qid is in URL

This commit is contained in:
Edward Betts 2021-07-22 17:04:37 +02:00
parent f001ff2604
commit 59ecb3f9fa

View file

@ -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;
}