7336_devToTest #2414
|
@ -31,15 +31,6 @@ module.exports = {
|
|||
|
||||
this.entries = entries;
|
||||
},
|
||||
getTotal(entry) {
|
||||
if (entry.buys) {
|
||||
let total = 0;
|
||||
for (let buy of entry.buys)
|
||||
total += buy.total;
|
||||
|
||||
return total;
|
||||
}
|
||||
},
|
||||
props: {
|
||||
id: {
|
||||
type: Number,
|
||||
|
|
Loading…
Reference in New Issue