Fix incorrect syntax for showing a notification while executing custom queries

This commit is contained in:
Andrew Kingston 2022-02-25 21:26:08 +00:00
parent 5a6cc0c592
commit eb27ac368a
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ const queryExecutionHandler = async action => {
// Trigger a notification and invalidate the datasource as long as this
// was not a readable query
if (!query.readable) {
API.notifications.error.success("Query executed successfully")
notificationStore.actions.success("Query executed successfully")
await dataSourceStore.actions.invalidateDataSource(query.datasourceId)
}