mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-29 12:03:52 -06:00
Allow node ajax functions to send URL params.
This commit is contained in:
parent
5dd1ada8dd
commit
47855eae0b
@ -86,7 +86,9 @@ export function getNodeAjaxOptions(url, nodeObj, treeNodeInfo, itemNodeData, par
|
||||
var data = cacheNode.cache(nodeObj.type + '#' + url, treeNodeInfo, cacheLevel);
|
||||
|
||||
if (_.isUndefined(data) || _.isNull(data)) {
|
||||
api.get(fullUrl)
|
||||
api.get(fullUrl, {
|
||||
params: otherParams.urlParams,
|
||||
})
|
||||
.then((res)=>{
|
||||
data = res.data.data;
|
||||
cacheNode.cache(nodeObj.type + '#' + url, treeNodeInfo, cacheLevel, data);
|
||||
|
Loading…
Reference in New Issue
Block a user