Skip to content

Commit febd123

Browse files
committed
chore(*): removing pointless code
1 parent 36cfe9e commit febd123

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

projects/igniteui-angular/src/lib/directives/text-highlight/text-highlight.directive.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,10 +316,8 @@ export class IgxTextHighlightDirective implements AfterViewInit, AfterViewChecke
316316
*/
317317
public activateIfNecessary(): void {
318318
const group = IgxTextHighlightDirective.highlightGroupsMap.get(this.groupName);
319-
const column = group.column === undefined ? group.column : group.column;
320-
const row = group.row === undefined ? group.row : group.row;
321319

322-
if (column === this.column && row === this.row) {
320+
if (group.column === this.column && group.row === this.row) {
323321
this.activate(group.index);
324322
}
325323
}

0 commit comments

Comments
 (0)