Skip to content
Snippets Groups Projects
Commit e76a13c1 authored by MARCO Jonathan's avatar MARCO Jonathan
Browse files

:twisted_rightwards_arrows: Merge branch 'release/3.0.42'

parents fb4adf69 a69cb9cf
Branches
Tags 4.2.3
No related merge requests found
Pipeline #86611 passed with stage
in 13 seconds
{
"name": "@vue-unistra/formbuilder",
"version": "3.0.41",
"version": "3.0.42",
"main": "dist/index.js",
"files": [
"dist/*",
......
......@@ -33,9 +33,10 @@ export default {
const linkedOptionsId = (value) => {
if (Array.isArray(value)) {
return Array.from(
new Set(this.$store.getters['form/getOptionsByIdOrValue'](value).map((option) => {
return option.id
})),
new Set(this.$store.getters['form/getOptionsByIdOrValue'](value)
.map((option) => {
return option.id
})),
)
}
......@@ -55,7 +56,7 @@ export default {
})
}
return optionsLinkedId
return option.displayedBy.includes(optionsLinkedId)
}
return false
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment