|
@@ -54,7 +54,7 @@ export default class HelpDeskSearchTableComponent extends HelpDeskSearchBaseComp
|
|
|
];
|
|
|
constructor($q: IQService,
|
|
|
$scope: IScope,
|
|
|
- private $state: angular.ui.IStateService,
|
|
|
+ $state: angular.ui.IStateService,
|
|
|
$stateParams: angular.ui.IStateParamsService,
|
|
|
$timeout: ITimeoutService,
|
|
|
$translate: angular.translate.ITranslateService,
|
|
@@ -64,7 +64,7 @@ export default class HelpDeskSearchTableComponent extends HelpDeskSearchBaseComp
|
|
|
localStorageService: LocalStorageService,
|
|
|
promiseService: PromiseService,
|
|
|
pwmService: IPwmService) {
|
|
|
- super($q, $scope, $stateParams, $timeout, $translate, configService, helpDeskService, IasDialogService,
|
|
|
+ super($q, $scope, $state, $stateParams, $timeout, $translate, configService, helpDeskService, IasDialogService,
|
|
|
localStorageService, promiseService, pwmService);
|
|
|
}
|
|
|
|
|
@@ -99,7 +99,7 @@ export default class HelpDeskSearchTableComponent extends HelpDeskSearchBaseComp
|
|
|
}
|
|
|
|
|
|
gotoCardsView(): void {
|
|
|
- this.$state.go('search.cards', {query: this.query});
|
|
|
+ this.toggleView('search.cards');
|
|
|
}
|
|
|
|
|
|
toggleColumnVisible(event, columnId): void {
|