diff --git a/docs/en_US/release_notes_6_15.rst b/docs/en_US/release_notes_6_15.rst index 647a20f61..37185f3ba 100644 --- a/docs/en_US/release_notes_6_15.rst +++ b/docs/en_US/release_notes_6_15.rst @@ -34,4 +34,5 @@ Bug fixes | `Issue #5261 `_ - Ensure that the search filter should be cleared when a new row is added to the user management. | `Issue #5262 `_ - Ensure that the user management dialog should not allow the same email addresses with different letter casings when creating users. | `Issue #5308 `_ - Ensure that the default value for a column should be used if it is made empty. + | `Issue #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 `_ - Fixed the issue while downloading the file from the file manager. diff --git a/web/pgadmin/tools/sqleditor/static/js/components/sections/ResultSet.jsx b/web/pgadmin/tools/sqleditor/static/js/components/sections/ResultSet.jsx index 4413fe337..8de3e2d10 100644 --- a/web/pgadmin/tools/sqleditor/static/js/components/sections/ResultSet.jsx +++ b/web/pgadmin/tools/sqleditor/static/js/components/sections/ResultSet.jsx @@ -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(''); });