mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where graphical explain keeps the node details open even after plan changed. #7993
This commit is contained in:
@@ -42,3 +42,4 @@ Bug fixes
|
||||
| `Issue #7957 <https://github.com/pgadmin-org/pgadmin4/issues/7957>`_ - Fixed an issue where cursor selection is not visible in the PSQL tool.
|
||||
| `Issue #7965 <https://github.com/pgadmin-org/pgadmin4/issues/7965>`_ - Allow OAuth2 params OAUTH2_NAME, OAUTH2_DISPLAY_NAME, OAUTH2_ICON, OAUTH2_BUTTON_COLOR to be optional.
|
||||
| `Issue #7988 <https://github.com/pgadmin-org/pgadmin4/issues/7988>`_ - Add appropriate minimum width and height setting for desktop apps to avoid app accidentally going below visibility levels.
|
||||
| `Issue #7993 <https://github.com/pgadmin-org/pgadmin4/issues/7993>`_ - Fixed an issue where graphical explain keeps the node details open even after plan changed.
|
||||
@@ -414,6 +414,10 @@ export default function Graphical({planData, ctx}) {
|
||||
setExplainPlanDetails([title, details]);
|
||||
}, []);
|
||||
|
||||
useEffect(()=>{
|
||||
setExplainPlanDetails([null, null]);
|
||||
}, [planData]);
|
||||
|
||||
return (
|
||||
<StyledBox ref={graphContainerRef} height="100%" width="100%" overflow="auto">
|
||||
<Box position="absolute" top="4px" left="4px" gap="4px" display="flex">
|
||||
|
||||
Reference in New Issue
Block a user