| .. | .. |
|---|
| 24 | 24 | |
|---|
| 25 | 25 | constructor(private http: Http, |
|---|
| 26 | 26 | private licenses: LicensesService, |
|---|
| 27 | | - private router: Router, |
|---|
| 28 | 27 | private packs: PacksService, |
|---|
| 28 | + router: Router, |
|---|
| 29 | 29 | toaster: ToastsManager, |
|---|
| 30 | 30 | route: ActivatedRoute, |
|---|
| 31 | 31 | $L: LocaleService, |
|---|
| 32 | 32 | dialogs: TdDialogService) { |
|---|
| 33 | | - super($L, route, toaster, licenses, $L.get('license'), dialogs); |
|---|
| 33 | + super($L, router, route, toaster, licenses, $L.get('license'), dialogs); |
|---|
| 34 | 34 | } |
|---|
| 35 | 35 | |
|---|
| 36 | 36 | requestFileSelected(file: File) : void { |
|---|
| .. | .. |
|---|
| 77 | 77 | |
|---|
| 78 | 78 | |
|---|
| 79 | 79 | ngAfterViewInit(): void { |
|---|
| 80 | + this.init(); |
|---|
| 81 | + } |
|---|
| 82 | + |
|---|
| 83 | + init(): void { |
|---|
| 80 | 84 | |
|---|
| 81 | 85 | this.route.params.subscribe(params => { |
|---|
| 82 | 86 | var packId = +params['packId']; // (+) converts string 'id' to a number |
|---|