From 55435c1a078c1459a02ac2fcf19746e11fc0e0de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yasin=20Ayd=C4=B1n?= Date: Tue, 18 Feb 2020 10:48:37 +0300 Subject: [PATCH] doc: change imported namespace Importing Toaster namespace is redundant now due to changes in https://github.com/abpframework/abp/issues/2852 . --- en/tutorials/book-store/part-2.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/tutorials/book-store/part-2.md b/en/tutorials/book-store/part-2.md index 3e6911c7..b2e8b07b 100644 --- a/en/tutorials/book-store/part-2.md +++ b/en/tutorials/book-store/part-2.md @@ -1392,7 +1392,7 @@ In the `book-list.component.ts` add a delete method : ```js import { GetBooks, CreateUpdateBook, DeleteBook } from '../../store/actions'; //<== added DeleteBook ==> -import { ConfirmationService, Toaster } from '@abp/ng.theme.shared'; //<== added Toaster ==> +import { ConfirmationService, Confirmation } from '@abp/ng.theme.shared'; //<== added Confirmation ==> //... @@ -1400,7 +1400,7 @@ delete(id: string, name: string) { this.confirmationService .warn('::AreYouSureToDelete', 'AbpAccount::AreYouSure') .subscribe(status => { - if (status === Toaster.Status.confirm) { + if (status === Confirmation.Status.confirm) { this.store.dispatch(new DeleteBook(id)).subscribe(() => this.get()); } });