Minor fix
This commit is contained in:
parent
5212832d98
commit
2482d37bd9
|
@ -51,7 +51,8 @@ export default class Selection {
|
||||||
}
|
}
|
||||||
|
|
||||||
get bodies() {
|
get bodies() {
|
||||||
return this.underlying.body;
|
return (Array.isArray(this.underlying.body)) ?
|
||||||
|
this.underlying.body : [ this.underlying.body ];
|
||||||
}
|
}
|
||||||
|
|
||||||
selector = type => {
|
selector = type => {
|
||||||
|
|
Loading…
Reference in New Issue