Ensure that the result grid column should take width as pre preferences setting on first execution. #5132

pull/5407/head
Nikhil Mohite 2022-10-06 15:59:27 +05:30 committed by GitHub
parent bb78d91d1b
commit 7e51a2f517
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -30,6 +30,7 @@ Bug fixes
*********
| `Issue #5101 <https://github.com/pgadmin-org/pgadmin4/issues/5101>`_ - Ensure consistent orderings for ACLS when comparing schemas in the schema diff.
| `Issue #5132 <https://github.com/pgadmin-org/pgadmin4/issues/5132>`_ - Ensure that the result grid column should take width as pre preferences setting on first execution.
| `Issue #5133 <https://github.com/pgadmin-org/pgadmin4/issues/5133>`_ - Fixed an exception occur while taking backup and SSL certificates/keys are not found in the specified path.
| `Issue #5145 <https://github.com/pgadmin-org/pgadmin4/issues/5145>`_ - Fixed intermittent error shown while OAuth2 login.
| `Issue #5167 <https://github.com/pgadmin-org/pgadmin4/issues/5167>`_ - Ensure that the path to the psqlrc file is correct when multiple users open the PSQL tool at the same time.

View File

@ -351,7 +351,7 @@ function getTextWidth(column, rows, canvas, columnWidthBy) {
}
}
/* Gracefull */
width += 2;
width += 8;
return width;
}

View File

@ -793,8 +793,8 @@ export function ResultSet() {
(procQueryData, procColumns, procRows)=>{
setRowsResetKey((prev)=>prev+1);
setQueryData(procQueryData);
setColumns(procColumns);
setRows(procRows);
setColumns(procColumns);
},
(planJson)=>{
/* No need to open if plan is empty */