Skip to content

Commit

Permalink
fixed an issue where error appears when reodering datagrid rows (form…
Browse files Browse the repository at this point in the history
  • Loading branch information
TanyaGashtold authored Apr 6, 2022
1 parent dcd438c commit fa6fc40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/datagrid/DataGrid.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ export default class DataGridComponent extends NestedArrayComponent {

this.dragula.on('cloned', (el, original) => {
if (el && el.children && original && original.children) {
original.children.forEach((child, index) => {
_.each(original.children, (child, index) => {
const styles = getComputedStyle(child, null);

if (styles.cssText !== '') {
Expand Down

0 comments on commit fa6fc40

Please sign in to comment.