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