2
0

🐛 (sheets) Save variable first item if length of 1

This commit is contained in:
Baptiste Arnaud
2023-03-03 09:39:42 +01:00
parent cc7d7285e5
commit 04028e74d9
2 changed files with 1 additions and 2 deletions

View File

@ -27,7 +27,6 @@ type Props = {
selectedItem?: string selectedItem?: string
items: Item[] items: Item[]
placeholder?: string placeholder?: string
debounceTimeout?: number
onSelect?: (value: string) => void onSelect?: (value: string) => void
} }

View File

@ -73,7 +73,7 @@ export const getRow = async (
...newVariables, ...newVariables,
{ {
...existingVariable, ...existingVariable,
value, value: value.length === 1 ? value[0] : value,
}, },
] ]
}, },