Skip to content

Commit 8aee080

Browse files
authored
Fixed #20
1 parent 6c99f65 commit 8aee080

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generic-table/directive/generic-table/generic-table.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ angular.module('angular.generic.table').directive('genericTable', function() {
472472
}
473473

474474
// if exportColumns are passed with options...
475-
if (typeof options.exportColumns !== 'undefined') {
475+
/*if (typeof options.exportColumns !== 'undefined') {
476476
// ...set value to null i.e. don't export column if it's not in the exportColumns array
477477
if (options.exportColumns.indexOf(tableSetting.objectKey)===-1){
478478
row[key] = null;
@@ -482,7 +482,7 @@ angular.module('angular.generic.table').directive('genericTable', function() {
482482
else if (typeof tableSetting.export !== 'undefined' && tableSetting.export === false) {
483483
// ...set value to null i.e. don't export column
484484
row[key] = null;
485-
}
485+
}*/
486486
}
487487
}
488488
}

0 commit comments

Comments
 (0)