1
0
Fork 0
mirror of synced 2024-10-03 02:27:06 +13:00

Remove success notification on query success to prevent notifications on 'read' queries

This commit is contained in:
Andrew Kingston 2021-01-26 09:31:41 +00:00
parent 5bec329581
commit 03e6799258

View file

@ -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
}