@itfin/components 1.3.44 → 1.3.45

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": "1.3.44",
3
+ "version": "1.3.45",
4
4
  "author": "Vitalii Savchuk <esvit666@gmail.com>",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -256,8 +256,15 @@ class itfTableBody extends Vue {
256
256
 
257
257
  updateValue(item, value, index, column) {
258
258
  const newItem = { ...item };
259
- set(newItem, column.property, value);
260
- this.$emit('update', { index, item, value: newItem, column });
259
+ if (newItem[column.property] !== value) {
260
+ set(newItem, column.property, value);
261
+ this.$emit('update', {
262
+ index,
263
+ item,
264
+ value: newItem,
265
+ column
266
+ });
267
+ }
261
268
  }
262
269
  }
263
270
  </script>