Skip to content

Commit 301f6d4

Browse files
AC-2020:Error:Dynamic rows component behaves incorrectly when a new element is added
1 parent 87137f3 commit 301f6d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Ui/view/base/web/js/dynamic-rows/dynamic-rows-grid.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ define([
259259
}
260260

261261
this.source.set(this.dataScope + '.' + this.index + '.' + this.recordData().length, obj);
262-
obj.position=this.recordData().length-1
262+
obj.position = this.recordData().length - 1;
263263
},
264264

265265
/**

0 commit comments

Comments
 (0)