mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-17 21:00:45 +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 && <span className="fieldValue">{object[key]}</span>
|
||||
!childIsObject && <span className="fieldValue">{String(object[key])}</span>
|
||||
}
|
||||
</Box>
|
||||
</React.Fragment>
|
||||
|
Reference in New Issue
Block a user