mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure that a new row should be added on top in the User Management dialog. Fixes #5817
This commit is contained in:
@@ -239,6 +239,7 @@ class UserManagementSchema extends BaseUISchema {
|
||||
{
|
||||
id: 'userManagement', label: '', type: 'collection', schema: obj.userManagementCollObj,
|
||||
canAdd: true, canDelete: true, isFullTab: true, group: 'temp_user',
|
||||
addOnTop: true,
|
||||
canDeleteRow: (row)=>{
|
||||
return row['id'] != current_user['id'];
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user