Skip to content

Commit 5218aaa

Browse files
MKirovaMKirova
authored andcommitted
chore(*): Fix lint.
1 parent 6acdfd1 commit 5218aaa

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

projects/igniteui-angular/src/lib/grids/grid-base.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4071,7 +4071,7 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
40714071
this.cancelAddMode = false;
40724072
const isInPinnedArea = this.isRecordPinnedByViewIndex(index);
40734073
const pinIndex = this.pinnedRecords.findIndex(x => x[this.primaryKey] === rowID);
4074-
const unpinIndex = this.getUnpinnedIndexById(rowID);
4074+
const unpinIndex = this.getUnpinnedIndexById(rowID);
40754075

40764076
if (this.expansionStates.get(rowID)) {
40774077
this.collapseRow(rowID);

projects/igniteui-angular/src/lib/grids/grid/grid-add-row.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe('IgxGrid - Row Adding #grid', () => {
2020
let gridContent: DebugElement;
2121
let actionStrip: IgxActionStripComponent;
2222
configureTestSuite();
23-
beforeAll(async(() => {
23+
beforeAll( async(() => {
2424
TestBed.configureTestingModule({
2525
declarations: [
2626
IgxAddRowComponent
@@ -122,7 +122,7 @@ describe('IgxGrid - Row Adding #grid', () => {
122122
row.beginAddRow();
123123
fixture.detectChanges();
124124

125-
//add row should be pinned
125+
// add row should be pinned
126126
const addRow = grid.getRowByIndex(1) as IgxGridRowComponent;
127127
expect(addRow.addRow).toBe(true);
128128
expect(grid.pinnedRows[1]).toBe(addRow);
@@ -136,7 +136,7 @@ describe('IgxGrid - Row Adding #grid', () => {
136136

137137
});
138138
it('Should allow adding row from ghost row.', () => {
139-
let row = grid.getRowByIndex(0);
139+
const row = grid.getRowByIndex(0);
140140
row.pin();
141141
fixture.detectChanges();
142142
expect(grid.pinnedRecords.length).toBe(1);
@@ -145,7 +145,7 @@ describe('IgxGrid - Row Adding #grid', () => {
145145
ghostRow.beginAddRow();
146146
fixture.detectChanges();
147147

148-
//add row should be unpinned
148+
// add row should be unpinned
149149
const addRow = grid.getRowByIndex(2);
150150
expect(addRow.addRow).toBe(true);
151151
expect(grid.pinnedRows.length).toBe(1);

0 commit comments

Comments
 (0)