mirror of https://github.com/Lissy93/dashy.git
🚨 Fixes warnings from DeepScan
This commit is contained in:
parent
b3dcc5e43f
commit
ea3ffa5d36
|
@ -8,7 +8,7 @@
|
|||
<div class="percentage-chart" :style="makeWrapperStyles(height)">
|
||||
<div
|
||||
v-for="(block, inx) in blocks" :key="inx"
|
||||
class="inner" :style="makeDimens(block, inx)"
|
||||
class="inner" :style="makeDimens(block)"
|
||||
v-tooltip="`${block.label} - ${block.width}%`"
|
||||
></div>
|
||||
</div>
|
||||
|
|
|
@ -96,7 +96,7 @@ export default {
|
|||
final: formatAmount(data.final_balance),
|
||||
totalSent: formatAmount(data.total_sent),
|
||||
totalReceived: formatAmount(data.total_received),
|
||||
lastTransaction: data.txrefs ? getTimeAgo(data.txrefs[0].confirmed) : 'Never',
|
||||
lastTransaction: data.txrefs[0] ? getTimeAgo(data.txrefs[0].confirmed) : 'Never',
|
||||
};
|
||||
const transactions = [];
|
||||
data.txrefs.forEach((transaction) => {
|
||||
|
|
Loading…
Reference in New Issue