Skip to content

Commit

Permalink
Add more debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
georgegevoian committed Sep 13, 2023
1 parent a42531f commit a008baf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/client/lib/tableUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ export function makePasteText(tableData: TableData, selection: CopySelection) {
// i.e. [["1-1", "1-2", "1-3"],["2-1", "2-2", "2-3"]]
const values = selection.rowIds.map(rowId =>
selection.columns.map(col => col.fmtGetter(rowId)));
const rawValues = selection.rowIds.map(rowId =>
selection.columns.map(col => col.rawGetter(rowId)));
console.log('makePasteText raw values', rawValues);
console.log('makePasteText values', values);
return tsvEncode(values);
}

Expand Down

0 comments on commit a008baf

Please sign in to comment.