mirror of
https://github.com/vkaelin/LeagueStats.git
synced 2026-03-25 12:57:28 +00:00
fix: round vue filter
This commit is contained in:
parent
ec47fe2372
commit
1313dce901
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ Vue.filter('percent', (value) => {
|
|||
})
|
||||
|
||||
Vue.filter('round', (value) => {
|
||||
return `${+value.toFixed(2)}`
|
||||
return parseFloat(value.toFixed(2))
|
||||
})
|
||||
|
||||
new Vue({
|
||||
|
|
|
|||
Loading…
Reference in a new issue