Fixed an issue where an error message fills the entire window if the query is long. Fixes #7388

This commit is contained in:
Aditya Toshniwal 2022-05-17 18:52:19 +05:30 committed by Akshay Joshi
parent ae0624ae8a
commit cb05d2924f
2 changed files with 1 additions and 1 deletions

View File

@ -20,3 +20,4 @@ Bug fixes
| `Issue #7372 <https://redmine.postgresql.org/issues/7372>`_ - Tell Docker to always pull the latest base images when building containers.
| `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.

View File

@ -378,7 +378,6 @@ export default function QueryToolComponent({params, pgWindow, pgAdmin, selectedN
let msg = parseApiError(error);
eventBus.current.fireEvent(QUERY_TOOL_EVENTS.SET_MESSAGE, msg, true);
eventBus.current.fireEvent(QUERY_TOOL_EVENTS.FOCUS_PANEL, PANELS.MESSAGES);
Notifier.error(msg);
}
};