Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
style: TT-318 Deleting unnecessary variables
  • Loading branch information
Edgar Guaman committed Aug 30, 2021
commit 5634b6e0eb72c2420dd31c9f063175410a309ad0
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,6 @@ export class TimeEntriesTableComponent implements OnInit, OnDestroy, AfterViewIn
{
extend: 'excel',
exportOptions: {
format: {
body: (data, column) => {
return column.name === 'Duration' ?
moment.duration(data).asHours().toFixed(4).slice(0, -1) :
data;
},
},
columns: ':visible'
},
text: 'Excel',
Expand All @@ -48,13 +41,6 @@ export class TimeEntriesTableComponent implements OnInit, OnDestroy, AfterViewIn
{
extend: 'csv',
exportOptions: {
format: {
body: (data, column) => {
return column.name === 'Duration' ?
moment.duration(data).asHours().toFixed(4).slice(0, -1) :
data;
},
},
columns: ':visible'
},
text: 'CSV',
Expand Down