fix save modal

This commit is contained in:
Pete Matsyburka
2026-01-30 21:36:33 +02:00
parent 964db0ab08
commit 93a852ac14
10 changed files with 30 additions and 36 deletions
@@ -131,7 +131,7 @@ export default {
IconCodePlus,
IconMathFunction
},
inject: ['t', 'save', 'template', 'withFormula'],
inject: ['t', 'template', 'withFormula'],
props: {
field: {
type: Object,
@@ -152,7 +152,7 @@ export default {
required: true
}
},
emits: ['close'],
emits: ['close', 'save'],
data () {
return {
formula: ''
@@ -219,7 +219,7 @@ export default {
this.field.readonly = !!normalizedFormula
}
this.save()
this.$emit('save')
this.$emit('close')
}