Refactor customer graph to use new service for org graphs

This commit is contained in:
Tom Bloor 2017-08-29 17:39:27 +01:00
parent 7342db0713
commit 5e2471aebf
5 changed files with 41 additions and 10 deletions

View file

@ -17,6 +17,8 @@ import { AppRoutingModule } from './app.routing';
import { AuthGuard } from './_guards/auth.guard';
import { ApiService } from './providers/api-service';
import { OrgGraphsService } from './providers/org-graphs.service';
// Layouts
import { FullLayoutComponent } from './layouts/full-layout.component';
import { SimpleLayoutComponent } from './layouts/simple-layout.component';
@ -54,6 +56,7 @@ import { DashboardModule } from './dashboard/dashboard.module';
providers: [
AuthGuard,
ApiService,
OrgGraphsService,
{
provide: LocationStrategy,
useClass: HashLocationStrategy