We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0671056 commit 2132302Copy full SHA for 2132302
1 file changed
addon/components/-private/row-wrapper.js
@@ -53,7 +53,9 @@ export default Component.extend({
53
},
54
55
destroy() {
56
- this._cells.forEach(cell => cell.destroy());
+ for (let cell of this._cells) {
57
+ cell.destroy();
58
+ }
59
60
this._super(...arguments);
61
@@ -114,7 +116,8 @@ export default Component.extend({
114
116
}
115
117
118
- _cells.forEach((cell, i) => {
119
+ for (let i = 0; i < this._cells.length; i++) {
120
+ let cell = this._cells[i];
121
let columnValue = objectAt(columns, i);
122
let columnMeta = this.get('columnMetaCache').get(columnValue);
123
@@ -128,7 +131,7 @@ export default Component.extend({
128
131
rowValue,
129
132
rowsCount,
130
133
});
- });
134
135
136
return _cells;
137
0 commit comments