Unable to view upsert history dialog, when InMemoryVector Store is used (#2182)

check for presence of paramValues
This commit is contained in:
Vinod Kiran
2024-04-15 13:20:12 +05:30
committed by GitHub
parent b34094035d
commit a71785f0e2
@@ -157,11 +157,13 @@ function UpsertHistoryRow(props) {
</div>
</AccordionSummary>
<AccordionDetails>
<TableViewOnly
sx={{ minWidth: 150 }}
rows={node.paramValues}
columns={Object.keys(node.paramValues[0])}
/>
{node.paramValues[0] && (
<TableViewOnly
sx={{ minWidth: 150 }}
rows={node.paramValues}
columns={Object.keys(node.paramValues[0])}
/>
)}
</AccordionDetails>
</Accordion>
)