@afeefa/vue-app 0.0.209 → 0.0.210
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.210
|
package/package.json
CHANGED
|
@@ -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?',
|