ngx-datatable data fake api data fix.

This commit is contained in:
mustafahlvc 2017-10-27 18:22:14 +03:00
parent 3fc510469d
commit b0f45980be

View File

@ -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;
});
}