mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-10 08:04:36 -06:00
Handle null in note.
This commit is contained in:
parent
1810d810d8
commit
f6ac0d5877
@ -829,13 +829,14 @@ export function FormNote({text, className}) {
|
||||
<Box className={className}>
|
||||
<Paper elevation={0} className={classes.noteRoot}>
|
||||
<Box paddingRight="0.25rem"><DescriptionIcon fontSize="small" /></Box>
|
||||
<Box>{HTMLReactParse(text)}</Box>
|
||||
<Box>{HTMLReactParse(text || '')}</Box>
|
||||
</Paper>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
FormNote.propTypes = {
|
||||
text: PropTypes.string,
|
||||
className: CustomPropTypes.className,
|
||||
};
|
||||
|
||||
const useStylesFormFooter = makeStyles((theme)=>({
|
||||
|
Loading…
Reference in New Issue
Block a user