Commit 55ee95573bcc579c45c1cd580ca0906dcfcdbbc2

Authored by Victor Costa
1 parent 96006ac8
Exists in master and in 1 other branch dev-fixes

Remove unused dependencies from cms component

Showing 1 changed file with 1 additions and 3 deletions   Show diff stats
src/app/cms/cms.component.ts
... ... @@ -11,7 +11,7 @@ import {ProfileService} from "../../lib/ng-noosfero-api/http/profile.service";
11 11 provide('profileService', { useClass: ProfileService })
12 12 ]
13 13 })
14   -@Inject(ArticleService, ProfileService, "$stateParams", "$httpParamSerializer", "$state", "SweetAlert")
  14 +@Inject(ArticleService, ProfileService, "$state", "SweetAlert")
15 15 export class Cms {
16 16  
17 17 article: any = {};
... ... @@ -19,8 +19,6 @@ export class Cms {
19 19  
20 20 constructor(private articleService: ArticleService,
21 21 private profileService: ProfileService,
22   - private $stateParams: ng.ui.IStateParamsService,
23   - private $httpParamSerializer: any,
24 22 private $state: ng.ui.IStateService, private SweetAlert: any) { }
25 23  
26 24 save() {
... ...