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