mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where syntax error was not highlighting in query tool. #6887
This commit is contained in:
@@ -283,6 +283,9 @@ export class ResultSetUtils {
|
|||||||
this.eventBus.fireEvent(QUERY_TOOL_EVENTS.EXECUTION_END);
|
this.eventBus.fireEvent(QUERY_TOOL_EVENTS.EXECUTION_END);
|
||||||
this.eventBus.fireEvent(QUERY_TOOL_EVENTS.FOCUS_PANEL, PANELS.MESSAGES);
|
this.eventBus.fireEvent(QUERY_TOOL_EVENTS.FOCUS_PANEL, PANELS.MESSAGES);
|
||||||
this.eventBus.fireEvent(QUERY_TOOL_EVENTS.SET_CONNECTION_STATUS, CONNECTION_STATUS.TRANSACTION_STATUS_INERROR);
|
this.eventBus.fireEvent(QUERY_TOOL_EVENTS.SET_CONNECTION_STATUS, CONNECTION_STATUS.TRANSACTION_STATUS_INERROR);
|
||||||
|
if (!flags.external) {
|
||||||
|
this.eventBus.fireEvent(QUERY_TOOL_EVENTS.HIGHLIGHT_ERROR, parseApiError(error));
|
||||||
|
}
|
||||||
this.eventBus.fireEvent(QUERY_TOOL_EVENTS.PUSH_HISTORY, {
|
this.eventBus.fireEvent(QUERY_TOOL_EVENTS.PUSH_HISTORY, {
|
||||||
status: false,
|
status: false,
|
||||||
start_time: this.startTime,
|
start_time: this.startTime,
|
||||||
|
|||||||
Reference in New Issue
Block a user