Skip to content

Commit 4a68892

Browse files
author
pipeline
committed
bug(EJ2-4210): Sample routing issue fixed
1 parent 1989203 commit 4a68892

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/common/samplelist.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export let samplesList: any = [
3030
'name': 'Form-Validator', 'category': 'Editors', 'order': '03', 'path': 'form-validator', 'samples': formValidatorAppRoutes
3131
},
3232
{
33-
'name': 'Button', 'category': 'Editors', 'order': '03', 'path': 'button', 'samples': buttonAppRoutes
33+
'name': 'Button', 'category': 'Editors', 'order': '03', 'path': 'button', 'samples': buttonAppRoutes, 'type': 'update'
3434
},
3535
{
3636
'name': 'Calendar', 'category': 'Editors', 'order': '03', 'path': 'calendar', 'samples': calendarAppRoutes

src/common/sb.router.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { RouterModule } from '@angular/router';
33
import { FormValidatorModule } from '../form-validator/form-validator.module';
44
import { DropDownListSampleModule } from '../dropdownlist/dropdownlist.module';
55
import { CalendarSampleModule } from '../calendar/calendar.module';
6+
import { DatePickerSampleModule } from '../datepicker/datepicker.module';
67
import { ButtonModule } from '../button/button.module';
78
import { ListViewSampleModule } from '../listview/listview.module';
89
import { GridSampleModule } from '../grid/grid.module';
@@ -24,6 +25,7 @@ const appRoutes: any = [
2425
{ path: 'Button', loadChildren: ButtonModule },
2526
{ path: 'dropdownlist', loadChildren: DropDownListSampleModule },
2627
{ path: 'calendar', loadChildren: CalendarSampleModule },
28+
{ path: 'datepicker', loadChildren: DatePickerSampleModule },
2729
{ path: 'numerictextbox', loadChildren: NumericModule },
2830
{ path: 'listview', loadChildren: ListViewSampleModule },
2931
{ path: 'dialog', loadChildren: DialogSampleModule },
@@ -43,6 +45,7 @@ const appRoutes: any = [
4345
ButtonModule,
4446
DropDownListSampleModule,
4547
CalendarSampleModule,
48+
DatePickerSampleModule,
4649
NumericModule,
4750
ListViewSampleModule,
4851
TextboxesModule,

0 commit comments

Comments
 (0)