mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 13:20:43 +00:00
Wrap values in String() - makes booleans show (they didn't otherwise!)
This commit is contained in:
@ -107,7 +107,7 @@ function DataBagPreview({data, json}: Props): JSX.Element
|
|||||||
childIsObject && openPreviewDivs.has(divId) && <Box>{previewObject(object[key], `${path}.${key}`)}</Box>
|
childIsObject && openPreviewDivs.has(divId) && <Box>{previewObject(object[key], `${path}.${key}`)}</Box>
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
!childIsObject && <span className="fieldValue">{object[key]}</span>
|
!childIsObject && <span className="fieldValue">{String(object[key])}</span>
|
||||||
}
|
}
|
||||||
</Box>
|
</Box>
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
|
Reference in New Issue
Block a user