@burh/nuxt-core 1.0.305 → 1.0.306

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.
@@ -74,7 +74,7 @@ export default {
74
74
  return {
75
75
  firstFieldValue: this.propFirstFieldValue,
76
76
  userTrainingsSelecteds: [],
77
- showModal: this.openModal,
77
+ showModal: this.openModal
78
78
  };
79
79
  },
80
80
  props: {
@@ -112,11 +112,11 @@ export default {
112
112
 
113
113
  },
114
114
 
115
- userTrainingsSelecteds(newValue) {
116
- if (this.userTrainingsSelecteds != newValue) {
115
+ userTrainingsSelecteds(newValue, oldVal) {
116
+ if (oldVal != newValue) {
117
117
  console.log('change on if');
118
118
  this.$emit('change-selecteds', {
119
- oldSelecteds: this.userTrainingsSelecteds,
119
+ oldSelecteds: oldVal,
120
120
  newSelecteds: newValue,
121
121
  });
122
122
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burh/nuxt-core",
3
- "version": "1.0.305",
3
+ "version": "1.0.306",
4
4
  "description": "Design System and Components.",
5
5
  "author": "Burh",
6
6
  "scripts": {