mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-01-24 07:16:52 -06:00
Fixed an issue where the prompt is not visible when clicking on the 'save results to file' button on the large data. #5338
corrected issue id corrected order of release notes
This commit is contained in:
parent
0b6b2e733a
commit
add5404f5e
@ -34,4 +34,5 @@ Bug fixes
|
||||
| `Issue #5261 <https://github.com/pgadmin-org/pgadmin4/issues/5261>`_ - Ensure that the search filter should be cleared when a new row is added to the user management.
|
||||
| `Issue #5262 <https://github.com/pgadmin-org/pgadmin4/issues/5262>`_ - Ensure that the user management dialog should not allow the same email addresses with different letter casings when creating users.
|
||||
| `Issue #5308 <https://github.com/pgadmin-org/pgadmin4/issues/5308>`_ - Ensure that the default value for a column should be used if it is made empty.
|
||||
| `Issue #5338 <https://github.com/pgadmin-org/pgadmin4/issues/5338>`_ - Fixed an issue where the prompt is not visible when clicking on the 'save results to file' button on the large data.
|
||||
| `Issue #5368 <https://github.com/pgadmin-org/pgadmin4/issues/5368>`_ - Fixed the issue while downloading the file from the file manager.
|
||||
|
@ -869,14 +869,14 @@ export function ResultSet() {
|
||||
setLoaderText(null);
|
||||
});
|
||||
|
||||
eventBus.registerListener(QUERY_TOOL_EVENTS.TRIGGER_SAVE_RESULTS, ()=>{
|
||||
eventBus.registerListener(QUERY_TOOL_EVENTS.TRIGGER_SAVE_RESULTS, async ()=>{
|
||||
let extension = queryToolCtx.preferences?.sqleditor?.csv_field_separator === ',' ? '.csv': '.txt';
|
||||
let fileName = 'data-' + new Date().getTime() + extension;
|
||||
if(!queryToolCtx.params.is_query_tool) {
|
||||
fileName = queryToolCtx.params.node_name + extension;
|
||||
}
|
||||
setLoaderText(gettext('Downloading results...'));
|
||||
rsu.current.saveResultsToFile(fileName);
|
||||
await rsu.current.saveResultsToFile(fileName);
|
||||
setLoaderText('');
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user