Fix bug that was causing an empty grid when adding a new column

This commit is contained in:
Andrew Kingston 2023-10-10 11:59:24 +01:00
parent 513aaf1174
commit 08331c3632
1 changed files with 4 additions and 1 deletions

View File

@ -102,7 +102,10 @@ export const createActions = context => {
// Refreshes the datasource definition
const refreshDefinition = async () => {
const def = await getDatasourceDefinition({ API, datasource })
const def = await getDatasourceDefinition({
API,
datasource: get(datasource),
})
definition.set(def)
}