mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
1) Port Grant Wizard to react. Fixes #6687
2) Fixed an issue where grant wizard is unresponsive if the database size is huge. Fixes #2097
This commit is contained in:
committed by
Akshay Joshi
parent
44e770aa0b
commit
7aa213a5ce
@@ -36,6 +36,9 @@ export default class PrivilegeRoleSchema extends BaseUISchema {
|
||||
this.supportedPrivs = supportedPrivs || [];
|
||||
}
|
||||
|
||||
updateSupportedPrivs = (updatedPrivs) => {
|
||||
this.supportedPrivs = updatedPrivs;
|
||||
}
|
||||
get baseFields() {
|
||||
let obj = this;
|
||||
|
||||
@@ -65,7 +68,8 @@ export default class PrivilegeRoleSchema extends BaseUISchema {
|
||||
},
|
||||
{
|
||||
id: 'grantor', label: gettext('Grantor'), type: 'text', readonly: true,
|
||||
cell: ()=>({cell: 'select', options: obj.grantorOptions}), minWidth: 150,
|
||||
editable: false, cell: ()=>({cell: 'select', options: obj.grantorOptions}),
|
||||
minWidth: 150,
|
||||
}];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user