mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix failing feature tests
This commit is contained in:
@@ -216,13 +216,13 @@ export default function ObjectNodeProperties({panelId, node, treeNodeInfo, nodeD
|
||||
schema.filterGroups = [gettext('Security')];
|
||||
}
|
||||
// Reset stale counter.
|
||||
useEffect(()=> {
|
||||
useMemo(()=> {
|
||||
staleCounter.current = 0;
|
||||
}, [nodeData?._id]);
|
||||
|
||||
const key = useMemo(()=>{
|
||||
// If node data is updated increase the counter to show updated data.
|
||||
if(isStale){
|
||||
if(isStale) {
|
||||
staleCounter.current += 1;
|
||||
}
|
||||
if( actionType != 'properties' || isActive) {
|
||||
|
Reference in New Issue
Block a user