Skip to content

Commit 0157241

Browse files
authored
Merge pull request #1519 from IgniteUI/hhristov/fix-igx-legacy-errors
fix(igx-ts-legacy): fix grid type import and add missing override
2 parents 64f2735 + 487ba12 commit 0157241

4 files changed

Lines changed: 4 additions & 5 deletions

File tree

packages/igx-templates/igx-ts-legacy/hierarchical-grid/hierarchical-grid-batch-editing/files/src/app/__path__/__filePrefix__.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { Component, ViewChild } from '@angular/core';
22
import { IgxDialogComponent, IgxGridComponent, IgxHierarchicalGridComponent,
3-
IgxRowIslandComponent, Transaction } from '<%=igxPackage%>';
4-
import { GridType } from '<%=igxPackage%>/lib/grids/common/grid.interface';
3+
IgxRowIslandComponent, GridType, Transaction } from '<%=igxPackage%>';
54

65
import { SINGERS } from './data';
76
import { Singer } from './singer';

packages/igx-templates/igx-ts-legacy/hierarchical-grid/hierarchical-grid-summaries/files/src/app/__path__/custom-summary.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export class CustomSummary extends IgxNumberSummaryOperand {
55
super();
66
}
77

8-
public operate(data?: number[]): IgxSummaryResult[] {
8+
public override operate(data?: number[]): IgxSummaryResult[] {
99
const result: IgxSummaryResult[] = [];
1010
if (!data) {
1111
return result;

packages/igx-templates/igx-ts-legacy/projects/side-nav/files/src/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class AppComponent implements OnInit {
2424
for (const route of routes) {
2525
if (route.path && route.data && route.path.indexOf('*') === -1) {
2626
this.topNavLinks.push({
27-
name: route.data.text,
27+
name: route.data['text'],
2828
path: '/' + route.path
2929
});
3030
}

packages/igx-templates/igx-ts/projects/side-nav-auth/files/src/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export class AppComponent implements OnInit {
4848
for (const route of routes) {
4949
if (route.path && route.data && route.path.indexOf('*') === -1) {
5050
this.topNavLinks.push({
51-
name: route.data.text,
51+
name: route.data['text'],
5252
path: '/' + route.path
5353
});
5454
}

0 commit comments

Comments
 (0)