bugfix: fix crashing langflow when keypairlistcomponent advanced opens (#2462)

This commit is contained in:
Cristhian Zanforlin Lousa 2024-07-01 17:30:32 -03:00 committed by GitHub
commit f70106aaec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -141,7 +141,7 @@ export default function TableNodeCellRender({
disabled={disabled}
editNode={true}
value={
Object.keys(templateValue)?.length === 0 || !templateValue
Object.keys(templateValue || {})?.length === 0 || !templateValue
? [{ "": "" }]
: convertObjToArray(templateValue, templateData.type)
}