Skip to content

Commit

Permalink
client: Fix links on reports page
Browse files Browse the repository at this point in the history
  • Loading branch information
XxRoloxX committed Dec 15, 2024
1 parent 10d2333 commit 8052d49
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions client/src/pages/Reports/Reports.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const Reports = () => {
header: 'Cluster',
columnKey: 'clusterId',
customComponent: (row: ReportSummary) => (
<LinkComponent to={`/clusters/${row.id}/report`}>
<LinkComponent to={`/clusters/${row.clusterId}/report`}>
{row.clusterId}
</LinkComponent>
),
Expand Down Expand Up @@ -142,7 +142,9 @@ const Reports = () => {
startDate: dateFromTimestampMs(report.sinceMs),
endDate: dateFromTimestampMs(report.toMs),
urgency: null,
requestedAtDate: dateTimeWithoutSecondsFromTimestampMs(report.requestedAtMs),
requestedAtDate: dateTimeWithoutSecondsFromTimestampMs(
report.requestedAtMs,
),
}));

const updateRows = (
Expand Down

0 comments on commit 8052d49

Please sign in to comment.