mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-23 01:06:31 -06:00
Fixed an issue where geometry is not visible when a single cell is selected. Fixes #7394
This commit is contained in:
parent
2c013c9f0f
commit
1e1e1f027a
@ -29,6 +29,7 @@ Bug fixes
|
||||
| `Issue #7383 <https://redmine.postgresql.org/issues/7383>`_ - Fixed an issue where Preferences are not saved when the dialog is maximized.
|
||||
| `Issue #7388 <https://redmine.postgresql.org/issues/7388>`_ - Fixed an issue where an error message fills the entire window if the query is long.
|
||||
| `Issue #7393 <https://redmine.postgresql.org/issues/7393>`_ - Ensure that the editor position should not get changed once it is opened.
|
||||
| `Issue #7394 <https://redmine.postgresql.org/issues/7394>`_ - Fixed an issue where geometry is not visible when a single cell is selected.
|
||||
| `Issue #7399 <https://redmine.postgresql.org/issues/7399>`_ - Added missing toggle case keyboard shortcuts to the query tool.
|
||||
| `Issue #7402 <https://redmine.postgresql.org/issues/7402>`_ - Ensure that Dashboard graphs should be refreshed on changing the node from the browser tree.
|
||||
| `Issue #7403 <https://redmine.postgresql.org/issues/7403>`_ - Fixed an issue where comments on domain constraints were not visible when selecting a domain node.
|
||||
|
@ -1194,7 +1194,12 @@ export function ResultSet() {
|
||||
|
||||
useEffect(()=>{
|
||||
const renderGeometries = (column)=>{
|
||||
let selRowsData = selectedRows.size === 0 ? rows : rows.filter((r)=>selectedRows.has(rowKeyGetter(r)));
|
||||
let selRowsData = rows;
|
||||
if(selectedRows.size != 0) {
|
||||
selRowsData = rows.filter((r)=>selectedRows.has(rowKeyGetter(r)));
|
||||
} else if(selectedCell.current[0]) {
|
||||
selRowsData = [selectedCell.current[0]];
|
||||
}
|
||||
LayoutHelper.openTab(queryToolCtx.docker, {
|
||||
id: PANELS.GEOMETRY,
|
||||
title:gettext('Geometry Viewer'),
|
||||
|
Loading…
Reference in New Issue
Block a user