Skip to content

Commit

Permalink
after qa
Browse files Browse the repository at this point in the history
  • Loading branch information
GrabowskiM committed Nov 3, 2022
1 parent 8bf7e08 commit cdd5fb9
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,11 @@
});

doc.querySelectorAll('.ibexa-collapse--field-definition').forEach((fieldDefinition, index) => {
fieldDefinition.querySelector('.ibexa-input--position').value = index;
const positionInput = fieldDefinition.querySelector('.ibexa-input--position');

if (positionInput) {
fieldDefinition.querySelector('.ibexa-input--position').value = index;
}
});
};
const addField = ({ targetContainer, draggedItemPosition }) => {
Expand Down

0 comments on commit cdd5fb9

Please sign in to comment.