Fixed an issue where graphical explain keeps the node details open even after plan changed. #7993

pull/8024/head
Aditya Toshniwal 2024-10-10 10:50:11 +05:30
parent 509c696aa3
commit 8c45dea975
2 changed files with 6 additions and 1 deletions

View File

@ -41,4 +41,5 @@ Bug fixes
| `Issue #7955 <https://github.com/pgadmin-org/pgadmin4/issues/7955>`_ - Fixed an issue where Dashboard tab showing 'Something went wrong'.
| `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 #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.

View File

@ -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">