diff --git a/src/app/article/article-default-view.component.ts b/src/app/article/article-default-view.component.ts index e5993f0..0c6b1a7 100644 --- a/src/app/article/article-default-view.component.ts +++ b/src/app/article/article-default-view.component.ts @@ -35,10 +35,7 @@ export class ArticleDefaultViewComponent { } delete() { - this.articleService.remove(this.article).catch((cause: any) => { - // TODO - Montar mensagem de erro com a causa - this.notificationService.error({ message: "article.default_view.remove.failed"}); - }); + this.articleService.remove(this.article); } } -- libgit2 0.21.2