fix small condition (#320)

This commit is contained in:
formsdev 2024-02-14 18:18:10 +05:30 committed by GitHub
parent 8e4d0f7ec6
commit 46ebf2ec4c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -468,7 +468,7 @@ export default {
return true
},
optionsText () {
if (this.field[this.field.type]) return ''
if (!this.field[this.field.type]) return ''
return this.field[this.field.type].options.map(option => {
return option.name
}).join('\n')