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

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')