Fix this.findAllByTag(...).filter is not a function

pull/2107/head
Simon Legner 1 year ago
parent 5dd454c785
commit 86f533be0a

@ -78,7 +78,7 @@ app.views.DocPicker = class DocPicker extends app.View {
} }
getSelectedDocs() { getSelectedDocs() {
return this.findAllByTag("input") return [...this.findAllByTag("input")]
.filter((input) => input?.checked) .filter((input) => input?.checked)
.map((input) => input.name); .map((input) => input.name);
} }

Loading…
Cancel
Save