Skip to content

Commit 37eba60

Browse files
committed
chore(tabs, bottom-nav): Minor update to the demo
1 parent 109f00f commit 37eba60

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/bottomnav-routing/bottomnav-routing.sample.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<igx-tab-panel #tab1 label="Tab 1" routerLink='/bottom-navigation-routing/view1'>
1313
Content in tab # 1
1414
</igx-tab-panel>
15-
<igx-tab-panel #tab2 label="Tab 2" routerLink='/bottom-navigation-routing/view2'>
15+
<igx-tab-panel #tab2 label="Tab 2" [routerLink]="['/bottom-navigation-routing', 'view2']">
1616
Content in tab # 2
1717
</igx-tab-panel>
1818
<igx-tab-panel #tab3 label="Tab 3" routerLink='/bottom-navigation-routing/view3'>

src/app/tabs-routing/tabs-routing.sample.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<!-- <router-outlet *ngIf="tab1.isSelected"></router-outlet> -->
1212
Content in tab # 1
1313
</igx-tabs-group>
14-
<igx-tabs-group #tab2 label="Tab 2" icon="folder" routerLink="/tabs-routing/view2">
14+
<igx-tabs-group #tab2 label="Tab 2" icon="folder" [routerLink]="['/tabs-routing', 'view2']">
1515
<!-- <router-outlet *ngIf="tab2.isSelected"></router-outlet> -->
1616
Content in tab # 2
1717
</igx-tabs-group>

0 commit comments

Comments
 (0)