@afeefa/vue-app 0.0.191 → 0.0.192

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- 0.0.191
1
+ 0.0.192
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@afeefa/vue-app",
3
- "version": "0.0.191",
3
+ "version": "0.0.192",
4
4
  "description": "",
5
5
  "author": "Afeefa Kollektiv <kollektiv@afeefa.de>",
6
6
  "license": "MIT",
@@ -33,7 +33,7 @@
33
33
  :title="label"
34
34
  :icon="icon"
35
35
  @save="save"
36
- @close="showForm = null"
36
+ @close="close"
37
37
  >
38
38
  <template #form="{modelToEdit}">
39
39
  <slot
@@ -93,6 +93,15 @@ export default class EditableDetailProperty extends Vue {
93
93
  save (model, ignoreChangesOnClose, closeModal) {
94
94
  this.$emit('save', {model, ignoreChangesOnClose, closeModal})
95
95
  }
96
+
97
+ openModal () {
98
+ this.showForm = true
99
+ }
100
+
101
+ close () {
102
+ this.showForm = false
103
+ this.$emit('close')
104
+ }
96
105
  }
97
106
  </script>
98
107