|
|
@@ -11,7 +11,7 @@ import { NgxSiemaOptions, NgxSiemaService } from 'ngx-siema'; |
|
|
|
styleUrls: ['./notes-details.component.scss'] |
|
|
|
}) |
|
|
|
export class NotesDetailsComponent implements OnInit { |
|
|
|
heading: string; |
|
|
|
heading: number; |
|
|
|
routeSubscription: Subscription; |
|
|
|
|
|
|
|
options: NgxSiemaOptions = { |
|
|
@@ -39,7 +39,8 @@ export class NotesDetailsComponent implements OnInit { |
|
|
|
|
|
|
|
ngOnInit(): void { |
|
|
|
this.routeSubscription = this.route.params.subscribe((params) => { |
|
|
|
this.heading = params['heading']; |
|
|
|
this.heading = Number(params['heading']); |
|
|
|
this.options.startIndex = Number(this.heading); |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|