activate holidays (#1345)
* activate holidays * tslint bugs are fixed * readme * activate holidays * issue1317 add correct route * tslint bugs are fixed * tslint bugs are fixed Co-authored-by: jagadeeshakn <jaga.gowdz.99@gmail.com> Squashing and Merging it after approval from Ed.
This commit is contained in:
@@ -28,10 +28,10 @@ export class ViewHolidaysComponent {
|
|||||||
* @param {ActivatedRoute} route Activated Route.
|
* @param {ActivatedRoute} route Activated Route.
|
||||||
*/
|
*/
|
||||||
constructor(private route: ActivatedRoute,
|
constructor(private route: ActivatedRoute,
|
||||||
private router: Router,
|
private router: Router,
|
||||||
private dialog: MatDialog,
|
private dialog: MatDialog,
|
||||||
private organizationService: OrganizationService ) {
|
private organizationService: OrganizationService) {
|
||||||
this.route.data.subscribe((data: { holidays: any}) => {
|
this.route.data.subscribe((data: { holidays: any }) => {
|
||||||
this.holidayData = data.holidays;
|
this.holidayData = data.holidays;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user