From 617dc93f8ca6426a3f61f6fa86f4873fc6f5b17b Mon Sep 17 00:00:00 2001 From: Yannick Baron Date: Thu, 27 Oct 2016 13:58:06 +0200 Subject: [PATCH] article.component: fixed minor tslint complaint --- src/app/article/article.component.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/app/article/article.component.ts b/src/app/article/article.component.ts index 22c6c077..1c8301dd 100644 --- a/src/app/article/article.component.ts +++ b/src/app/article/article.component.ts @@ -15,14 +15,6 @@ import { templateUrl: './article.component.html' }) export class ArticleComponent implements OnInit { - constructor( - private route: ActivatedRoute, - private articlesService: ArticlesService, - private commentsService: CommentsService, - private router: Router, - private userService: UserService - ) {} - article: Article; currentUser: User; canModify: boolean; @@ -32,6 +24,14 @@ export class ArticleComponent implements OnInit { isSubmitting = false; isDeleting = false; + constructor( + private route: ActivatedRoute, + private articlesService: ArticlesService, + private commentsService: CommentsService, + private router: Router, + private userService: UserService + ) {} + ngOnInit() { // Retreive the prefetched article this.route.data.subscribe(