- Fix Jasmine test cases failing in framework. - More stability fixes and enhancements.

This commit is contained in:
Aditya Toshniwal
2021-08-17 12:19:10 +05:30
committed by Akshay Joshi
parent 351cb3e6ca
commit 9274df0f11
6 changed files with 18 additions and 12 deletions

View File

@@ -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,
}];
}

View File

@@ -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),
});
}
});