Highlight the initial ("seed") capital

This commit is contained in:
Austin Chen 2021-12-01 16:55:12 -06:00
parent b04134c9c5
commit a78eeb4a89

View File

@ -29,7 +29,15 @@
<tbody> <tbody>
<tr v-for="(entry, i) in entries"> <tr v-for="(entry, i) in entries">
<th>{{ i + 1 }}</th> <th>{{ i + 1 }}</th>
<template v-if="entry.yesBid"> <template v-if="entry.yesBid && entry.noBid">
<td><div class="badge">SEED</div></td>
<td>{{ entry.yesBid }} / {{ entry.noBid }}</td>
<td>N/A</td>
<td>{{ entry.prob.toFixed(2) }}</td>
<td>N/A</td>
<td>N/A</td>
</template>
<template v-else-if="entry.yesBid">
<td><div class="badge badge-success">YES</div></td> <td><div class="badge badge-success">YES</div></td>
<td>{{ entry.yesBid }}</td> <td>{{ entry.yesBid }}</td>
<td>{{ entry.yesWeight.toFixed(2) }}</td> <td>{{ entry.yesWeight.toFixed(2) }}</td>