donst export checked items

This commit is contained in:
vabene1111
2020-10-21 20:35:26 +02:00
parent 89b8dbe57f
commit e427d8b714

View File

@@ -372,7 +372,7 @@
},
export_text() {
let text = ''
for (let e of this.display_entries) {
for (let e of this.display_entries.filter(item => item.checked === false)) {
text += `${this.export_text_prefix}${e.amount} ${e.unit.name} ${e.food.name} \n`
}
return text