diff --git a/src/main/webapp/app/entities/customer-contact/customer-contact-table.component.html b/src/main/webapp/app/entities/customer-contact/customer-contact-table.component.html
index ac4d18d6..338aac08 100644
--- a/src/main/webapp/app/entities/customer-contact/customer-contact-table.component.html
+++ b/src/main/webapp/app/entities/customer-contact/customer-contact-table.component.html
@@ -1,13 +1,4 @@
-
- Customer Contacts
-
-
@@ -17,8 +8,12 @@
ID |
Role |
Contact |
-
Customer |
-
|
+
Customer |
+
+
+ |
= links['last']" [infiniteScrollDistance]="0">
@@ -27,12 +22,12 @@
{{customerContact.role}} |
|
-
+ |
|
@@ -40,22 +35,22 @@
|
diff --git a/src/main/webapp/app/entities/customer-contact/customer-contact.route.ts b/src/main/webapp/app/entities/customer-contact/customer-contact.route.ts
index 827e2b63..e6cc4166 100644
--- a/src/main/webapp/app/entities/customer-contact/customer-contact.route.ts
+++ b/src/main/webapp/app/entities/customer-contact/customer-contact.route.ts
@@ -30,7 +30,7 @@ export class CustomerContactResolve implements Resolve {
export const customerContactRoute: Routes = [
{
- path: '',
+ path: '/customer-contact',
component: CustomerContactComponent,
data: {
authorities: ['ROLE_USER'],
@@ -39,7 +39,7 @@ export const customerContactRoute: Routes = [
canActivate: [UserRouteAccessService]
},
{
- path: ':id/view',
+ path: '/customer-contact/:id/view',
component: CustomerContactDetailComponent,
resolve: {
customerContact: CustomerContactResolve
@@ -51,7 +51,7 @@ export const customerContactRoute: Routes = [
canActivate: [UserRouteAccessService]
},
{
- path: 'new',
+ path: '/customer-contact/new',
component: CustomerContactUpdateComponent,
resolve: {
customerContact: CustomerContactResolve
@@ -63,7 +63,7 @@ export const customerContactRoute: Routes = [
canActivate: [UserRouteAccessService]
},
{
- path: ':id/edit',
+ path: '/customer-contact/:id/edit',
component: CustomerContactUpdateComponent,
resolve: {
customerContact: CustomerContactResolve
diff --git a/src/main/webapp/app/entities/customer/customer-detail.component.html b/src/main/webapp/app/entities/customer/customer-detail.component.html
index f8e979bc..7ccfe0aa 100644
--- a/src/main/webapp/app/entities/customer/customer-detail.component.html
+++ b/src/main/webapp/app/entities/customer/customer-detail.component.html
@@ -28,8 +28,14 @@
- Related Entities
+
diff --git a/src/main/webapp/app/entities/customer/customer.module.ts b/src/main/webapp/app/entities/customer/customer.module.ts
index 429782ab..13015446 100644
--- a/src/main/webapp/app/entities/customer/customer.module.ts
+++ b/src/main/webapp/app/entities/customer/customer.module.ts
@@ -6,6 +6,7 @@ import { JhiLanguageHelper } from 'app/core';
import { HsadminNgCustomerContactModule } from 'app/entities/customer-contact/customer-contact.module';
import { HsadminNgSharedModule } from 'app/shared';
+import { CustomerContactTableComponent } from 'app/entities/customer-contact';
import {
CustomerComponent,
CustomerDetailComponent,
@@ -28,7 +29,10 @@ const ENTITY_STATES = [...customerRoute, ...customerPopupRoute];
CustomerDeletePopupComponent
],
entryComponents: [CustomerComponent, CustomerUpdateComponent, CustomerDeleteDialogComponent, CustomerDeletePopupComponent],
- providers: [{ provide: JhiLanguageService, useClass: JhiLanguageService }],
+ providers: [
+ { provide: JhiLanguageService, useClass: JhiLanguageService },
+ { provide: CustomerContactTableComponent, useClass: CustomerContactTableComponent }
+ ],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class HsadminNgCustomerModule {