mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
- Fix Jasmine test cases failing in framework. - More stability fixes and enhancements.
This commit is contained in:
committed by
Akshay Joshi
parent
351cb3e6ca
commit
9274df0f11
@@ -65,7 +65,7 @@ export default class PrivilegeRoleSchema extends BaseUISchema {
|
||||
},
|
||||
{
|
||||
id: 'grantor', label: gettext('Grantor'), type: 'text', readonly: true,
|
||||
cell: ()=>({cell: 'select', options: obj.grantorOptions}),
|
||||
cell: ()=>({cell: 'select', options: obj.grantorOptions}), minWidth: 150,
|
||||
}];
|
||||
}
|
||||
|
||||
|
||||
@@ -140,6 +140,7 @@ export function getNodeListById(nodeObj, treeNodeInfo, itemNodeData, params={},
|
||||
/* Get the nodes list based on node name passed */
|
||||
export function getNodeListByName(node, treeNodeInfo, itemNodeData, params={}, filter=()=>true, postTransform=(res)=>res) {
|
||||
let nodeObj = pgAdmin.Browser.Nodes[node];
|
||||
let {includeItemKeys} = params;
|
||||
/* Transform the result to add image details */
|
||||
const transform = (rows) => {
|
||||
var res = [];
|
||||
@@ -157,6 +158,7 @@ export function getNodeListByName(node, treeNodeInfo, itemNodeData, params={}, f
|
||||
'value': r.label,
|
||||
'image': image,
|
||||
'label': l,
|
||||
..._.pick(r, includeItemKeys),
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user