working on poll evaluation
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{#each poll.options as option}
|
||||
{#each Object.entries(poll.options) as [option_id,option]}
|
||||
<tr>
|
||||
<td class="option">
|
||||
{option.name}
|
||||
@@ -86,7 +86,7 @@
|
||||
</td>
|
||||
{#each Object.entries(poll.weights) as [weight,name]}
|
||||
<td class="radio" onclick={e => select(option,weight)} title={t('click to select')} >
|
||||
{#if selection[option.id] == weight}
|
||||
{#if selection[option_id] == weight}
|
||||
X
|
||||
{/if}
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user