Minor fix

This commit is contained in:
Rainer Simon 2020-12-27 12:01:35 +01:00
parent 5212832d98
commit 2482d37bd9
1 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,8 @@ export default class Selection {
}
get bodies() {
return this.underlying.body;
return (Array.isArray(this.underlying.body)) ?
this.underlying.body : [ this.underlying.body ];
}
selector = type => {