Skip to content

Commit

Permalink
Merge pull request #314 from kbss-cvut/fix-dereferenceable
Browse files Browse the repository at this point in the history
Fix tests dereferenceable answer value
  • Loading branch information
blcham authored Apr 8, 2024
2 parents ecad11b + d295b16 commit 4b80939
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/answer/TypeaheadAnswer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ const TypeaheadAnswer = (props) => {
valueKey={valueKey}
labelKey={labelKey}
valueRenderer={
props.question[Constants.PROVIDES_DEREFERENCEABLE_ANSWER_VALUES]
props.question[Constants.PROVIDES_DEREFERENCEABLE_ANSWER_VALUES] ===
false
? noLinksValueRenderer
: null
}
Expand Down

0 comments on commit 4b80939

Please sign in to comment.