Skip to content

Commit 336719a

Browse files
committed
Support isGroup: false
1 parent bb8ba48 commit 336719a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/classes/Feature.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default class Feature extends AbstractFeature {
2323

2424
forceTotal = (
2525
this.def.forceTotal
26-
?? (this.def.isGroup || this.def.children ? false : undefined)
26+
?? (this.def.isGroup !== false && (this.def.isGroup || this.def.children) ? false : undefined)
2727
?? this.constructor.forceTotal
2828
) || undefined; // false → undefined
2929
static forceTotal = 1;

0 commit comments

Comments
 (0)