| .. | .. |
|---|
| 24 | 24 | |
|---|
| 25 | 25 | constructor(private http: Http, |
|---|
| 26 | 26 | private licenseTypes: LicenseTypesService, |
|---|
| 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, packs, $L.get('pack'), dialogs); |
|---|
| 33 | + super($L, router, route, toaster, packs, $L.get('pack'), dialogs); |
|---|
| 34 | 34 | } |
|---|
| 35 | 35 | |
|---|
| 36 | 36 | loadCombos(): void { |
|---|
| .. | .. |
|---|
| 72 | 72 | |
|---|
| 73 | 73 | |
|---|
| 74 | 74 | ngAfterViewInit(): void { |
|---|
| 75 | + this.init(); |
|---|
| 76 | + } |
|---|
| 77 | + |
|---|
| 78 | + init(): void { |
|---|
| 75 | 79 | this.loadCombos(); |
|---|
| 76 | 80 | super.prepareInitialData('packId', { |
|---|
| 77 | 81 | status: PACK_STATUS.CREATED |
|---|