From 7cea4f3b776726dc14dad52324e2de2daab6fbfc Mon Sep 17 00:00:00 2001 From: DESKTOP-D5ILJ4S\flr_3 Date: Fri, 6 Jul 2018 14:20:30 +0700 Subject: [PATCH] เสริชข้อมูล active ด้วย ชื่อ team อย่างเดียว --- src/app/app.module.ts | 5 ++++- src/app/dashboard/dashboard.component.html | 8 ++++++-- src/app/dashboard/dashboard.component.spec.ts | 28 ---------------------------- src/app/dashboard/dashboard.component.ts | 1 + src/app/dashboard/filter.pipe.ts | 23 +++++++++++++++++++++++ 5 files changed, 34 insertions(+), 31 deletions(-) delete mode 100644 src/app/dashboard/dashboard.component.spec.ts create mode 100644 src/app/dashboard/filter.pipe.ts diff --git a/src/app/app.module.ts b/src/app/app.module.ts index b118ffb..99b349c 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -14,13 +14,16 @@ import { AppComponent } from './app.component'; import { LayoutComponent } from './layout/layout.component'; import { DashboardComponent } from './dashboard/dashboard.component'; import { ShortPipe } from './dashboard/short'; +import { FilterPipe } from './dashboard/filter.pipe'; + @NgModule({ declarations: [ AppComponent, ShortPipe, LayoutComponent, - DashboardComponent + DashboardComponent, + FilterPipe ], imports: [ BrowserModule, diff --git a/src/app/dashboard/dashboard.component.html b/src/app/dashboard/dashboard.component.html index b345ca7..111ed75 100644 --- a/src/app/dashboard/dashboard.component.html +++ b/src/app/dashboard/dashboard.component.html @@ -23,7 +23,11 @@
- +

@@ -31,7 +35,7 @@