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