🐛 (sheets) Save variable first item if length of 1
This commit is contained in:
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ export const getRow = async (
|
|||||||
...newVariables,
|
...newVariables,
|
||||||
{
|
{
|
||||||
...existingVariable,
|
...existingVariable,
|
||||||
value,
|
value: value.length === 1 ? value[0] : value,
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user