feat: Suffixed Decimals
This commit is contained in:
parent
1c0cc228f6
commit
490b99503c
2 changed files with 55 additions and 2 deletions
|
|
@ -68,10 +68,12 @@ export default {
|
|||
cappedValueText() {
|
||||
return this.unit === 'maxAge'
|
||||
? this.$store.getters.ageText
|
||||
: this.cappedValue
|
||||
: this.$store.getters.suffixedDecimalText(this.cappedValue)
|
||||
},
|
||||
maxText() {
|
||||
return this.unit === 'maxAge' ? this.$store.getters.ageMaxText : this.max
|
||||
return this.unit === 'maxAge'
|
||||
? this.$store.getters.ageMaxText
|
||||
: this.$store.getters.suffixedDecimalText(this.max)
|
||||
},
|
||||
clickable() {
|
||||
return !this.disabled && this.value >= this.max
|
||||
|
|
|
|||
Reference in a new issue