@afeefa/vue-app 0.0.151 → 0.0.152

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- 0.0.151
1
+ 0.0.152
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@afeefa/vue-app",
3
- "version": "0.0.151",
3
+ "version": "0.0.152",
4
4
  "description": "",
5
5
  "author": "Afeefa Kollektiv <kollektiv@afeefa.de>",
6
6
  "license": "MIT",
@@ -67,6 +67,10 @@ export default class EditForm extends Vue {
67
67
  this.$emit('update:modelToEdit', this.modelToEdit)
68
68
  }
69
69
 
70
+ resetChanged () {
71
+ this.lastJson = this.json
72
+ }
73
+
70
74
  /**
71
75
  * This will be triggered after the this.model has been set
72
76
  * but before sub components may have changed model values
@@ -137,5 +137,9 @@ export default class EditModal extends Vue {
137
137
  ignoreChangesOnClose () {
138
138
  this.$refs.form.forceUnchanged()
139
139
  }
140
+
141
+ resetChanged () {
142
+ this.$refs.form.resetChanged()
143
+ }
140
144
  }
141
145
  </script>