MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / url

Function url

web/pgadmin/misc/properties/ObjectNodeProperties.jsx:39–41  ·  view source on GitHub ↗
(isNew)

Source from the content-addressed store, hash-verified

37 // To check node data is updated or not
38 const staleCounter = useRef(0);
39 const url = (isNew)=>{
40 return urlBase + (isNew ? '' : nodeData._id);
41 };
42 const isDirty = useRef(false); // useful for warnings
43 let warnOnCloseFlag = true;
44 const confirmOnCloseReset = usePreferences().getPreferencesForModule('browser').confirm_on_properties_close;

Callers 2

initDataFunction · 0.70
onSaveClickFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected