From 347a72e45ed271ca77fed3dd67b74ad5caebadd0 Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Mon, 21 Mar 2016 13:52:19 -0300 Subject: [PATCH] Fix the use of notification service when create an article --- src/app/article/basic-editor.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/article/basic-editor.component.ts b/src/app/article/basic-editor.component.ts index 98cc859..59ac039 100644 --- a/src/app/article/basic-editor.component.ts +++ b/src/app/article/basic-editor.component.ts @@ -28,7 +28,7 @@ export class BasicEditorComponent { }).then((response: noosfero.RestResult) => { let article = (response.data); this.$state.transitionTo('main.profile.page', { page: article.path, profile: article.profile.identifier }); - this.notification.success("Good job!", "Article saved!"); + this.notification.success({ title: "Good job!", message: "Article saved!" }); }); } -- libgit2 0.21.2