mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
fix save modal
This commit is contained in:
1 parent
964db0ab08
commit
93a852ac14
10 files changed
+30
-36
No files matched your search
@@ -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')
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user