Skip to content

Commit

Permalink
Merge pull request #155 from gobitfly/BIDS-2702/FixSummaryTableLabelO…
Browse files Browse the repository at this point in the history
…nMobile

Fix summary label on mobile
  • Loading branch information
D13ce authored Mar 28, 2024
2 parents 096c1be + fc51340 commit 9a1e612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/components/dashboard/table/SummaryDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const data = computed<SummaryRow[][]>(() => {
if (!row) {
let title = $t(`dashboard.validator.summary.row.${prop}`)
if (prop === 'efficiency_all_time') {
title = `${title} (${$t(`statistics.${detail.split('_')[1]}`)})`
title = `${title} (${$t(`statistics.${detail}`)})`
}
row = { title, prop, details: [] }
list[tableIndex].push(row)
Expand Down

0 comments on commit 9a1e612

Please sign in to comment.