Remove success notification on query success to prevent notifications on 'read' queries
This commit is contained in:
parent
5bec329581
commit
03e6799258
|
@ -11,8 +11,8 @@ export const executeQuery = async ({ queryId, parameters }) => {
|
||||||
parameters,
|
parameters,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
res.error
|
if (res.error) {
|
||||||
? notificationStore.danger("An error has occurred")
|
notificationStore.danger("An error has occurred")
|
||||||
: notificationStore.success("Query successful")
|
}
|
||||||
return res
|
return res
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue