Browse Source

Add error notification if executing a query in a button action fails

pull/4710/head
Andrew Kingston 5 years ago
parent
commit
47d8a1e628
  1. 4
      packages/client/src/utils/buttonActions.js

4
packages/client/src/utils/buttonActions.js

@ -133,6 +133,10 @@ const queryExecutionHandler = async action => {
return { result } return { result }
} catch (error) { } catch (error) {
notificationStore.actions.error(
"An error occurred while executing the query"
)
// Abort next actions // Abort next actions
return false return false
} }

Loading…
Cancel
Save