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

@@ -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);
}
};