Skip to content

Commit ba77308

Browse files
committed
- do not display schema_switcher if xorSchemas.length is 0
1 parent 867aa6e commit ba77308

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

renderers/plain.jsonary.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@
191191
var orSchemas = fixedSchemas.orSchemas();
192192
if (orSchemas.length == 0) {
193193
xorSchemas = fixedSchemas.xorSchemas();
194-
if (xorSchemas.length == 1) {
194+
if (xorSchemas.length <= 1) {
195195
singleOption = true;
196196
}
197197
}

0 commit comments

Comments
 (0)