diff --git a/frontend/src/_helpers/appUtils.js b/frontend/src/_helpers/appUtils.js index 744dd0fcb9..08e1f8edcc 100644 --- a/frontend/src/_helpers/appUtils.js +++ b/frontend/src/_helpers/appUtils.js @@ -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;