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