Show all answers in answer panel
This commit is contained in:
parent
f4a66263dd
commit
457db07da4
|
@ -156,9 +156,7 @@ function getAnswerItems(
|
||||||
answers: Answer[],
|
answers: Answer[],
|
||||||
user: User | undefined | null
|
user: User | undefined | null
|
||||||
) {
|
) {
|
||||||
let outcomes = uniq(answers.map((answer) => answer.number.toString())).filter(
|
let outcomes = uniq(answers.map((answer) => answer.number.toString()))
|
||||||
(outcome) => getOutcomeProbability(contract, outcome) > 0.0001
|
|
||||||
)
|
|
||||||
outcomes = sortBy(outcomes, (outcome) =>
|
outcomes = sortBy(outcomes, (outcome) =>
|
||||||
getOutcomeProbability(contract, outcome)
|
getOutcomeProbability(contract, outcome)
|
||||||
).reverse()
|
).reverse()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user