@afeefa/vue-app 0.0.209 → 0.0.210

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- 0.0.209
1
+ 0.0.210
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@afeefa/vue-app",
3
- "version": "0.0.209",
3
+ "version": "0.0.210",
4
4
  "description": "",
5
5
  "author": "Afeefa Kollektiv <kollektiv@afeefa.de>",
6
6
  "license": "MIT",
@@ -117,7 +117,7 @@ export default class EditModal extends Vue {
117
117
 
118
118
  async beforeClose () {
119
119
  // run only if show_ is true to prevent double checks with a-modal
120
- if (this.show_ && this.$refs.form.changed) {
120
+ if (this.show_ && (this.$refs.form.changed || this._changed)) {
121
121
  const result = await this.$events.dispatch(new DialogEvent(DialogEvent.SHOW, {
122
122
  title: 'Änderungen verwerfen?',
123
123
  message: 'Im Formular sind nicht gespeicherte Änderungen. Sollen diese verworfen werden?',