Finishes scrollTo implementation on hierarchical checkboxes lists.
This commit is contained in:
parent
aa65436be9
commit
8508764f17
|
@ -461,6 +461,7 @@
|
|||
}
|
||||
|
||||
} else if (this.metadatum_type === 'Tainacan\\Metadata_Types\\Relationship' && selected.length) {
|
||||
|
||||
this.isSelectedTermsLoading = true;
|
||||
|
||||
axios.get(`/items/?${qs.stringify({ fetch_only: 'title', postin: selected})}`)
|
||||
|
@ -687,9 +688,10 @@
|
|||
|
||||
if (first != undefined)
|
||||
this.finderColumns.splice(first, 1, { label: label, children: children, lastTerm: res.data.last_term.es_term });
|
||||
else {
|
||||
else
|
||||
this.finderColumns.push({ label: label, children: children, lastTerm: res.data.last_term.es_term });
|
||||
|
||||
this.$nextTick(() => {
|
||||
setTimeout(() => {
|
||||
if (
|
||||
this.$refs &&
|
||||
|
@ -709,9 +711,7 @@
|
|||
});
|
||||
}
|
||||
}, 500);
|
||||
|
||||
|
||||
}
|
||||
});
|
||||
},
|
||||
appendMore(options, key, lastTerm) {
|
||||
for (let option of options)
|
||||
|
@ -883,7 +883,7 @@
|
|||
.tainacan-li-checkbox-modal {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
align-items: stretch;
|
||||
padding: 0;
|
||||
-webkit-break-inside: avoid;
|
||||
break-inside: avoid;
|
||||
|
@ -1271,7 +1271,6 @@
|
|||
width: 3.5em;
|
||||
border-left: 1px solid var(--tainacan-gray1);
|
||||
border-bottom: 1px solid var(--tainacan-gray1);
|
||||
height: 3em;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
|
Loading…
Reference in New Issue