@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "twenty-docs",
|
||||
"version": "0.3.1",
|
||||
"version": "0.3.2",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"nx": "NX_DEFAULT_PROJECT=twenty-docs node ../../node_modules/nx/bin/nx.js",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "twenty-emails",
|
||||
"version": "0.3.1",
|
||||
"version": "0.3.2",
|
||||
"description": "",
|
||||
"author": "",
|
||||
"private": true,
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "twenty-front",
|
||||
"version": "0.3.1",
|
||||
"version": "0.3.2",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
||||
@ -87,7 +87,9 @@ export const ObjectFilterDropdownOptionSelect = () => {
|
||||
};
|
||||
|
||||
const optionsInDropdown = selectableOptions?.filter((option) =>
|
||||
option.label.toLowerCase().includes(objectFilterDropdownSearchInput),
|
||||
option.label
|
||||
.toLowerCase()
|
||||
.includes(objectFilterDropdownSearchInput.toLowerCase()),
|
||||
);
|
||||
|
||||
const showNoResult = optionsInDropdown?.length === 0;
|
||||
|
||||
@ -34,7 +34,10 @@ export const SelectFieldInput = ({
|
||||
);
|
||||
const optionsToSelect =
|
||||
fieldDefinition.metadata.options.filter((option) => {
|
||||
return option.value !== fieldValue && option.label.includes(searchFilter);
|
||||
return (
|
||||
option.value !== fieldValue &&
|
||||
option.label.toLowerCase().includes(searchFilter.toLowerCase())
|
||||
);
|
||||
}) || [];
|
||||
const optionsInDropDown = selectedOption
|
||||
? [selectedOption, ...optionsToSelect]
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "twenty-server",
|
||||
"version": "0.3.1",
|
||||
"version": "0.3.2",
|
||||
"description": "",
|
||||
"author": "",
|
||||
"private": true,
|
||||
|
||||
Reference in New Issue
Block a user