Update release notes.

This commit is contained in:
Aditya Toshniwal 2024-11-21 10:59:08 +05:30
parent 321366489d
commit f23fe38e0b
3 changed files with 4 additions and 2 deletions

View File

@ -30,4 +30,6 @@ Housekeeping
Bug fixes
*********
| `Issue #5099 <https://github.com/pgadmin-org/pgadmin4/issues/5099>`_ - Fixed an issue where Ctrl/Cmd + A was not selecting all data in query tool data grid.
| `Issue #8010 <https://github.com/pgadmin-org/pgadmin4/issues/5099>`_ - Fixed an issue where query tool should show results and messages only from the last executed query.
| `Issue #8127 <https://github.com/pgadmin-org/pgadmin4/issues/8127>`_ - Fixed an issue where query tool should not prompt for unsaved changes when there are no changes.

View File

@ -401,9 +401,8 @@ export default function QueryToolDataGrid({columns, rows, totalRowCount, dataCha
}
// Handle Select All Cmd + A(mac) / Ctrl + a (others)
if((isMac() && e.metaKey) || (!isMac() && e.ctrlKey) && e.key === 'a') {
if(((isMac() && e.metaKey) || (!isMac() && e.ctrlKey)) && e.key === 'a') {
e.preventDefault();
onSelectedColumnsChangeWrapped(new Set());
eventBus.fireEvent(QUERY_TOOL_EVENTS.TRIGGER_SELECT_ALL);
}
}

View File

@ -1038,6 +1038,7 @@ export function ResultSet() {
} else {
setAllRowsSelect('NONE');
}
setSelectedColumns(new Set());
});
eventBus.registerListener(QUERY_TOOL_EVENTS.ALL_ROWS_SELECTED, ()=>{