Merge branch 'dev' of github.com:CorentinTh/it-tools into dev

This commit is contained in:
Corentin Thomasset 2020-06-13 23:29:18 +02:00
commit 9f83534046
4 changed files with 6 additions and 5 deletions

View file

@ -5,6 +5,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Next ## Next
- [fix] [GithubContributors] ordered contributors by contribution count - [fix] [GithubContributors] ordered contributors by contribution count
- [refactor] used vue-typecasting for number inputs
## 1.2.1 ## 1.2.1
- [fix] [UuidGenerator] added quantity validation rules - [fix] [UuidGenerator] added quantity validation rules
@ -25,4 +26,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [fix] remove history move (incompatible with vercel.com) - [fix] remove history move (incompatible with vercel.com)
## 1.0.0 ## 1.0.0
- First release - First release

View file

@ -8,7 +8,7 @@
label="Input base" label="Input base"
outlined outlined
type="number" type="number"
v-model="inputBase" v-model.number="inputBase"
ref="inputBase" ref="inputBase"
hide-details="auto" hide-details="auto"
:rules="baseRules" :rules="baseRules"
@ -33,7 +33,7 @@
label="Output base" label="Output base"
outlined outlined
type="number" type="number"
v-model="outputBase" v-model.number="outputBase"
ref="outputBase" ref="outputBase"
:rules="baseRules" :rules="baseRules"
/> />

View file

@ -5,7 +5,7 @@
<v-card-text> <v-card-text>
<v-text-field <v-text-field
outlined outlined
v-model="quantity" v-model.number="quantity"
ref="quantity" ref="quantity"
type="number" type="number"
label="Quantity" label="Quantity"

View file

@ -25,7 +25,7 @@ const formatBytes = (bytes, decimals = 2) => {
} }
const isInt = (value) => { const isInt = (value) => {
return Number.isInteger(parseFloat(value)); return Number.isInteger(value);
} }
export { export {