Skip to content

Commit

Permalink
fix(VDataTableFooter): dont apply i18n to numbers (#18980)
Browse files Browse the repository at this point in the history
fixes #18978

Co-authored-by: John Leider <john@vuetifyjs.com>
  • Loading branch information
websitevirtuoso and johnleider committed Mar 30, 2024
1 parent 24c53d0 commit 8e1f56e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -92,7 +92,7 @@ export const VDataTableFooter = genericComponent<{ prepend: never }>()({

return {
...option,
title: t(option.title),
title: !isNaN(Number(option.title)) ? option.title : t(option.title),
}
})
))
Expand Down

0 comments on commit 8e1f56e

Please sign in to comment.