We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 204c4a3 commit f9b8ab7Copy full SHA for f9b8ab7
addon/components/-private/row-wrapper.js
@@ -43,7 +43,9 @@ export default Component.extend({
43
},
44
45
destroy() {
46
- this._cells.forEach(cell => cell.destroy());
+ for (let cell of this._cells) {
47
+ cell.destroy();
48
+ }
49
50
this._super(...arguments);
51
@@ -94,7 +96,8 @@ export default Component.extend({
94
96
}
95
97
98
- _cells.forEach((cell, i) => {
99
+ for (let i = 0; i < this._cells.length; i++) {
100
+ let cell = this._cells[i];
101
let columnValue = objectAt(columns, i);
102
let columnMeta = this.get('columnMetaCache').get(columnValue);
103
@@ -107,7 +110,7 @@ export default Component.extend({
107
110
rowSelectionMode,
108
111
rowValue,
109
112
});
- });
113
114
115
return _cells;
116
0 commit comments