Skip to content

Commit c26b11c

Browse files
authored
Merge pull request #427 from ioet/420-csv
fix: #420 csv support
2 parents 07ae428 + 9c43d41 commit c26b11c

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/app/modules/reports/components/time-entries-table/time-entries-table.component.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,16 @@ export class TimeEntriesTableComponent implements OnInit, OnDestroy, AfterViewIn
2121
buttons: [
2222
'colvis',
2323
'print',
24-
'excel'
24+
{
25+
extend: 'excel',
26+
text: 'Excel',
27+
filename: `time-entries-${ new Date() }`
28+
},
29+
{
30+
extend: 'csv',
31+
text: 'CSV',
32+
filename: `time-entries-${ new Date() }`
33+
}
2534
]
2635
};
2736

0 commit comments

Comments
 (0)