Skip to content

Commit 9028ed3

Browse files
committed
Merge pull request #3429 from valepu/patch-2
fix(clearThisRowInvisible) not using parameter reason
2 parents 9adca3d + b955a2d commit 9028ed3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/js/core/factories/GridRow.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ angular.module('ui.grid')
176176
*/
177177
GridRow.prototype.clearThisRowInvisible = function ( reason, fromRowsProcessor ) {
178178
if (typeof(this.invisibleReason) !== 'undefined' ) {
179-
delete this.invisibleReason.user;
179+
delete this.invisibleReason[reason];
180180
}
181181
this.evaluateRowVisibility( fromRowsProcessor );
182182
};
@@ -216,4 +216,4 @@ angular.module('ui.grid')
216216
return GridRow;
217217
}]);
218218

219-
})();
219+
})();

0 commit comments

Comments
 (0)