mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Ensure that the result grid column should take width as pre preferences setting on first execution. #5132
This commit is contained in:
@@ -351,7 +351,7 @@ function getTextWidth(column, rows, canvas, columnWidthBy) {
|
||||
}
|
||||
}
|
||||
/* Gracefull */
|
||||
width += 2;
|
||||
width += 8;
|
||||
return width;
|
||||
}
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user