improved ladder display
This commit is contained in:
@@ -23,11 +23,11 @@
|
||||
:color="color" :base-color="color"
|
||||
style="flex: 6em"
|
||||
/></td>
|
||||
<td class="weight">{{(weights[weights.length-1]*100).toFixed(1)}}%</td>
|
||||
<td class="weight">{{allocationText(weights[weights.length-1])}}</td>
|
||||
</tr>
|
||||
<tr v-for="num in rungs-2" class="ml-5">
|
||||
<td class="pl-5">{{prices[prices.length-1-num]}}</td>
|
||||
<td class="weight">{{(weights[prices.length-1-num]*100).toFixed(1)}}%</td>
|
||||
<td class="weight">{{allocationText(weights[prices.length-1-num])}}</td>
|
||||
</tr>
|
||||
</template>
|
||||
<tr>
|
||||
@@ -37,7 +37,7 @@
|
||||
:color="color" :base-color="color"
|
||||
style="flex: 6em"
|
||||
/></td>
|
||||
<td class="weight">{{weights.length?(weights[0]*100).toFixed(1):''}}%</td>
|
||||
<td class="weight">{{weights.length?allocationText(weights[0]):''}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user