|
|
@ -52,7 +52,7 @@ export class NgxDatatableListDirective implements OnChanges, OnDestroy, OnInit { |
|
|
private subscribeToIsLoading() { |
|
|
private subscribeToIsLoading() { |
|
|
const sub = this.list.isLoading$.subscribe(loading => { |
|
|
const sub = this.list.isLoading$.subscribe(loading => { |
|
|
this.table.loadingIndicator = loading; |
|
|
this.table.loadingIndicator = loading; |
|
|
this.cdRef.markForCheck(); |
|
|
this.cdRef.detectChanges(); |
|
|
}); |
|
|
}); |
|
|
this.subscription.add(sub); |
|
|
this.subscription.add(sub); |
|
|
} |
|
|
} |
|
|
|