Avoid mutating an array in place when looking for an element's first parent
Closes #693 (closed)
Found while working on !972 (merged): Deleting the element using the delete action (not the button in the details panel) caused an error that is only visible in dev mode; the Vuex state was modified outside of a mutation, because Array.prototype.reverse()
was used, which reverses the array in-place.
Edited by Erwan Rouchet