Skip to content

Commit

Permalink
offsets
Browse files Browse the repository at this point in the history
  • Loading branch information
rtholmes authored and winstan committed May 8, 2024
1 parent 0cc3123 commit 1666942
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/portal/frontend/src/app/util/SortableTable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,9 @@ export class SortableTable {
if (colsWithMetadata.indexOf(j) >= 0) {
if (i === 0) {
// header row
row.push(cols[j] + "_metadata"); // add metadata prior column name
// add metadata prior column name
// strange math because we may have added columns to the left
row.push(row[j + colsWithMetadata.indexOf(j)] + "_metadata");
} else {
// regular row
row.push(this.extractMetadata(cols[j] as HTMLElement));
Expand Down

0 comments on commit 1666942

Please sign in to comment.