mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
- Introduce deps listener context and move the old code. - Add support for deffered deps change - deferredDepChange. - Changes for canEditRow and canDeleteRow. - Select the tab again on visible if it is rendered when hidden. - It is helpful to show the error footer in SQL tab also. - Fix isEmptyString.
This commit is contained in:
committed by
Akshay Joshi
parent
5c1ce23780
commit
a06f78b2d5
@@ -19,6 +19,9 @@ const useStyles = makeStyles((theme)=>({
|
||||
padding: theme.spacing(1),
|
||||
overflow: 'auto',
|
||||
backgroundColor: theme.palette.grey[400]
|
||||
},
|
||||
content: {
|
||||
height: '100%',
|
||||
}
|
||||
}));
|
||||
|
||||
@@ -28,7 +31,7 @@ export default function TabPanel({children, classNameRoot, className, value, ind
|
||||
const active = value === index;
|
||||
return (
|
||||
<Box className={clsx(classes.root, classNameRoot)} component="div" hidden={!active}>
|
||||
<Box style={{height: '100%'}} className={className}>{children}</Box>
|
||||
<Box className={clsx(classes.content, className)}>{children}</Box>
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user