Merge branch 'dev' of github.com:CorentinTh/it-tools into dev
This commit is contained in:
		
						commit
						9f83534046
					
				| @ -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 | ||||||
|  | |||||||
| @ -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" | ||||||
|                     /> |                     /> | ||||||
|  | |||||||
| @ -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" | ||||||
|  | |||||||
| @ -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 { | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user