fix: view filter displaying incorrect options
This commit is contained in:
parent
651128ea81
commit
f03e314710
|
@ -79,7 +79,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function fieldOptions(field) {
|
function fieldOptions(field) {
|
||||||
return viewModel.schema[field].type === "string"
|
return viewModel.schema[field].type === "options"
|
||||||
? viewModel.schema[field].constraints.inclusion
|
? viewModel.schema[field].constraints.inclusion
|
||||||
: [true, false]
|
: [true, false]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue