@itfin/components 2.0.18 → 2.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itfin/components",
3
- "version": "2.0.18",
3
+ "version": "2.0.19",
4
4
  "author": "Vitalii Savchuk <esvit666@gmail.com>",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -12,7 +12,7 @@
12
12
  </div>
13
13
  </template>
14
14
 
15
- <div class="px-2">
15
+ <div>
16
16
  <template v-if="type === 'list'">
17
17
  <a
18
18
  v-for="(item, n) in options.items"
@@ -145,7 +145,7 @@ class itfMoneyField extends Vue {
145
145
  }
146
146
 
147
147
  onCurrencyChanged(e) {
148
- const currency = this.currenciesList.find((c) => c[this.itemKey] === parseInt(e.target.value));
148
+ const currency = this.currenciesList.find((c) => `${c[this.itemKey]}` === `${e.target.value}`);
149
149
  this.$emit('update:currency', currency)
150
150
  }
151
151