This commit is contained in:
parent
e78b23a849
commit
bc94850cc8
|
@ -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