Skip to content

Commit

Permalink
#25611: Static test fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
engcom-Foxtrot authored Nov 26, 2019
1 parent 1298766 commit 41c95a2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,12 @@ define([
* @param {Object} record
*/
prev: function (record) {
var recordToShow;

if (record._rowIndex === 0) {
return;
}
var recordToShow = this.getRecord(record._rowIndex - 1);
recordToShow = this.getRecord(record._rowIndex - 1);

recordToShow.rowNumber = record.firstInRow ? record.rowNumber - 1 : record.rowNumber;
this.show(recordToShow);
Expand Down

0 comments on commit 41c95a2

Please sign in to comment.