From b0f45980beac9ea86187d3745b4741075f461c61 Mon Sep 17 00:00:00 2001 From: mustafahlvc Date: Fri, 27 Oct 2017 18:22:14 +0300 Subject: [PATCH] ngx-datatable data fake api data fix. --- .../components-third-party/datatable/ngx-datatable.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/main/content/components-third-party/datatable/ngx-datatable.component.ts b/src/app/main/content/components-third-party/datatable/ngx-datatable.component.ts index 5dd80a29..af5f59ca 100644 --- a/src/app/main/content/components-third-party/datatable/ngx-datatable.component.ts +++ b/src/app/main/content/components-third-party/datatable/ngx-datatable.component.ts @@ -21,7 +21,7 @@ export class FuseNgxDatatableComponent implements OnInit { this.http.get('api/contacts-contacts') .subscribe((contacts: any) => { - this.rows = contacts.data; + this.rows = contacts; this.loadingIndicator = false; }); }