eg-grid: ensure that ignoreFields does not need to be set
authorGalen Charlton <gmc@equinoxinitiative.org>
Tue, 25 Feb 2020 18:39:07 +0000 (13:39 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 25 Feb 2020 18:39:07 +0000 (13:39 -0500)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/share/grid/grid.component.ts

index 7412bac..23996ee 100644 (file)
@@ -158,6 +158,7 @@ export class GridComponent implements OnInit, AfterViewInit, OnDestroy {
         this.context.rowFlairCallback = this.rowFlairCallback;
         this.context.disablePaging = this.disablePaging === true;
         this.context.cellTextGenerator = this.cellTextGenerator;
+        this.context.ignoredFields = [];
 
         if (this.showFields) {
             this.context.defaultVisibleFields = this.showFields.split(',');