Skip to content

Commit ae2241c

Browse files
authored
docs(tGrid): fixed about page routing (#3522)
1 parent 90edfb4 commit ae2241c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/app/pivot-grid/pivot-grids.module.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { CommonModule } from '@angular/common';
44
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
55
import { NgModule } from '@angular/core';
66
import { FormsModule } from '@angular/forms';
7-
import { IgxCheckboxModule, IgxIconModule, IgxPivotGridModule, IgxSwitchModule } from 'igniteui-angular';
7+
import { IgxButtonModule, IgxCheckboxModule, IgxIconModule, IgxPivotGridModule, IgxSwitchModule } from 'igniteui-angular';
88
import { PivotExportComponent } from './pivot-export/pivot-export.component';
99
import { PivotFeaturesComponent } from './pivot-features/pivot-features.component';
1010
import { PivotGridBasicSampleComponent } from './pivot-basic-sample/pivot-grid-basic-sample.component';
@@ -29,6 +29,7 @@ import { PivotGridLayoutComponent } from './pivot-layout/pivot-layout.component'
2929
], imports: [CommonModule,
3030
FormsModule,
3131
PivotGridsRoutingModule,
32+
IgxButtonModule,
3233
IgxPivotGridModule,
3334
IgxCheckboxModule,
3435
IgxSwitchModule,

src/app/tree-grid/tree-grid-save-state/about.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
<span>Navigating to the previous page, components will reinitialize as per their initial configuration, therefore the igxTreeGrid will lose its state.</span>
44
<br />
55
<span>What our GridSaveStateComponent does is reading the state from the window.localStorage object and applying the corresponding state in the AfterViewInit lifecycle.</span><br />
6-
<span igxButton="contained" [routerLink]="['../grid-state']">Go Back</span>
6+
<span igxButton="contained" [routerLink]="['../tree-grid-state']">Go Back</span>
77
</div>

0 commit comments

Comments
 (0)