From 2e186f2bd6ae9945cd22d38a028ff6c5c89d0504 Mon Sep 17 00:00:00 2001 From: KostyaDanovsky Date: Mon, 24 Jul 2017 12:04:40 +0300 Subject: [PATCH] fix(demo): rename toaster to notifications --- src/app/pages/components/components-routing.module.ts | 8 ++++---- .../notifications.component.html} | 1 + .../notifications.component.scss} | 0 .../notifications.component.ts} | 10 +++++----- src/app/pages/pages-menu.ts | 2 +- 5 files changed, 11 insertions(+), 10 deletions(-) rename src/app/pages/components/{toaster/toaster.component.html => notifications/notifications.component.html} (99%) rename src/app/pages/components/{toaster/toaster.component.scss => notifications/notifications.component.scss} (100%) rename src/app/pages/components/{toaster/toaster.component.ts => notifications/notifications.component.ts} (86%) diff --git a/src/app/pages/components/components-routing.module.ts b/src/app/pages/components/components-routing.module.ts index 7a3f4d51..655666d8 100644 --- a/src/app/pages/components/components-routing.module.ts +++ b/src/app/pages/components/components-routing.module.ts @@ -3,7 +3,7 @@ import { Routes, RouterModule } from '@angular/router'; import { ComponentsComponent } from './components.component'; import { TreeComponent } from './tree/tree.component'; -import { ToasterComponent } from './toaster/toaster.component'; +import { NotificationsComponent } from './notifications/notifications.component'; const routes: Routes = [{ path: '', @@ -13,8 +13,8 @@ const routes: Routes = [{ path: 'tree', component: TreeComponent, }, { - path: 'toaster', - component: ToasterComponent, + path: 'notifications', + component: NotificationsComponent, }, ], }]; @@ -28,5 +28,5 @@ export class ComponentsRoutingModule { } export const routedComponents = [ ComponentsComponent, TreeComponent, - ToasterComponent, + NotificationsComponent, ]; diff --git a/src/app/pages/components/toaster/toaster.component.html b/src/app/pages/components/notifications/notifications.component.html similarity index 99% rename from src/app/pages/components/toaster/toaster.component.html rename to src/app/pages/components/notifications/notifications.component.html index ab12e756..183c08c5 100644 --- a/src/app/pages/components/toaster/toaster.component.html +++ b/src/app/pages/components/notifications/notifications.component.html @@ -4,6 +4,7 @@ +