Commit cc41ff1232991dd0aa72ad52307b946b143e2e4b
Exists in
master
and in
34 other branches
Merge branch 'ngforward' of softwarepublico.gov.br:noosfero-themes/angular-theme into ngforward
* 'ngforward' of softwarepublico.gov.br:noosfero-themes/angular-theme: 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() { | ... | ... |