mirror of
https://gitlab.com/MrFry/qmining-data-editor
synced 2025-04-01 20:24:01 +02:00
possible answers fix 2
This commit is contained in:
parent
983695db46
commit
4764b4807c
1 changed files with 3 additions and 0 deletions
|
@ -67,10 +67,13 @@ export default function Question({ question, onChange, index }) {
|
|||
// {"text":"a. Kétismeretlenes egyenletrendszert használunk.",
|
||||
// "selectedByUser":true}
|
||||
|
||||
console.log(possibleAnswer)
|
||||
const pa =
|
||||
typeof possibleAnswer === 'string'
|
||||
? possibleAnswer
|
||||
: possibleAnswer.val
|
||||
? possibleAnswer.val
|
||||
: possibleAnswer.text
|
||||
|
||||
return (
|
||||
<div key={i}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue