Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
paired collection items are now also reversed like history
Browse files Browse the repository at this point in the history
ahmedhamidawan committed Nov 19, 2024
1 parent 83c1961 commit 1e0c92b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/src/components/Collections/PairCollectionCreator.vue
Original file line number Diff line number Diff line change
@@ -82,6 +82,9 @@ function _elementsSetUp() {
// copy initial list, sort, add ids if needed
workingElements.value = JSON.parse(JSON.stringify(props.initialElements.slice(0)));
// reverse the order of the elements to emulate what we have in the history panel
workingElements.value.reverse();
_ensureElementIds();
_validateElements();
}

0 comments on commit 1e0c92b

Please sign in to comment.