Fix:Edit library modal blur inputs on submit #1427

This commit is contained in:
advplyr 2023-01-31 16:04:30 -06:00
parent d8753aafb9
commit cefc75a4ed
2 changed files with 18 additions and 5 deletions

View file

@ -144,8 +144,6 @@ export default {
return true
},
submit() {
if (!this.validate()) return
// If custom expression input is focused then unfocus it instead of submitting
if (this.$refs.tabComponent && this.$refs.tabComponent.checkBlurExpressionInput) {
if (this.$refs.tabComponent.checkBlurExpressionInput()) {
@ -153,6 +151,8 @@ export default {
}
}
if (!this.validate()) return
if (this.library) {
this.submitUpdateLibrary()
} else {