Fix incorrect syntax for showing a notification while executing custom queries
This commit is contained in:
parent
5a6cc0c592
commit
eb27ac368a
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue