Skip to content

Commit 979a973

Browse files
committed
fix(DashboardTableRewardsDetails): missing function to convert epoch into unix timestamp
1 parent 3ecb436 commit 979a973

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

frontend/.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"DashboardTableClDeposits",
2222
"DashboardTableElConsolidations",
2323
"DashboardTableElDeposits",
24+
"DashboardTableRewardsDetails",
2425
"DashboardTableSummary",
2526
"DashboardTableSummaryDetails",
2627
"DashboardTableSummaryValidatorsIconRow",

frontend/components/dashboard/table/DashboardTableRewardsDetails.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ const openDuties = () => {
145145
},
146146
})
147147
}
148+
const { getTimestampFromEpoch } = useNetworkStore()
148149
</script>
149150

150151
<template>
@@ -157,7 +158,7 @@ const openDuties = () => {
157158
<div class="small-screen-value">
158159
<b><BcTableAgeHeader class="label" /></b>
159160
<div class="value">
160-
<BcTableDateTime :unix-timestamp="row.epoch" />
161+
<BcTableDateTime :unix-timestamp="getTimestampFromEpoch(row.epoch)" />
161162
</div>
162163
</div>
163164
<div class="small-screen-value">

0 commit comments

Comments
 (0)