mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 01:18:23 +00:00
fix: error toast on preview
This commit is contained in:
parent
4313e07dc2
commit
0e09fd7aa9
1 changed files with 1 additions and 1 deletions
|
|
@ -621,7 +621,7 @@ export const createQueryPanelSlice = (set, get) => ({
|
|||
query,
|
||||
'edit'
|
||||
);
|
||||
if (finalData.status === 'failed') {
|
||||
if (finalData?.status === 'failed') {
|
||||
onEvent('onDataQueryFailure', queryEvents);
|
||||
setPreviewLoading(false);
|
||||
setIsPreviewQueryLoading(false);
|
||||
|
|
|
|||
Loading…
Reference in a new issue