mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-22 16:38:21 +00:00
bugfix: toast notification for failed query (#580)
This commit is contained in:
parent
64db1a2a03
commit
e748b2457e
1 changed files with 1 additions and 2 deletions
|
|
@ -329,7 +329,6 @@ export function runQuery(_ref, queryId, queryName, confirmed = undefined) {
|
|||
return;
|
||||
}
|
||||
}
|
||||
|
||||
const newState = {
|
||||
..._ref.state.currentState,
|
||||
queries: {
|
||||
|
|
@ -356,7 +355,7 @@ export function runQuery(_ref, queryId, queryName, confirmed = undefined) {
|
|||
}
|
||||
|
||||
if (data.status === 'failed') {
|
||||
toast.error(data.error.message, { hideProgressBar: true, autoClose: 3000 });
|
||||
toast.error(data.message, { hideProgressBar: true, autoClose: 3000 });
|
||||
}
|
||||
|
||||
let rawData = data.data;
|
||||
|
|
|
|||
Loading…
Reference in a new issue