From c85e3d4f69c437843a90780b589ac6dd0c3b90fa Mon Sep 17 00:00:00 2001 From: Joeri Deplus Date: Mon, 24 Jul 2017 09:02:23 +0200 Subject: [PATCH] Make sure datatable has a loadingIcon input --- src/app/components/datatable/datatable.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/components/datatable/datatable.ts b/src/app/components/datatable/datatable.ts index f62ad402b5f..7290c556798 100644 --- a/src/app/components/datatable/datatable.ts +++ b/src/app/components/datatable/datatable.ts @@ -294,8 +294,6 @@ export class ScrollableView implements AfterViewInit,AfterViewChecked,OnDestroy @Input() loading: boolean; - @Input() loadingIcon: string = 'fa-circle-o-notch'; - public scrollBody: HTMLDivElement; public scrollHeader: HTMLDivElement; @@ -627,6 +625,8 @@ export class DataTable implements AfterViewChecked,AfterViewInit,AfterContentIni @Input() dataKey: string; @Input() loading: boolean; + + @Input() loadingIcon: string = 'fa-circle-o-notch'; @Output() firstChange: EventEmitter = new EventEmitter();