Fix bug that was causing an empty grid when adding a new column
This commit is contained in:
parent
513aaf1174
commit
08331c3632
|
@ -102,7 +102,10 @@ export const createActions = context => {
|
||||||
|
|
||||||
// Refreshes the datasource definition
|
// Refreshes the datasource definition
|
||||||
const refreshDefinition = async () => {
|
const refreshDefinition = async () => {
|
||||||
const def = await getDatasourceDefinition({ API, datasource })
|
const def = await getDatasourceDefinition({
|
||||||
|
API,
|
||||||
|
datasource: get(datasource),
|
||||||
|
})
|
||||||
definition.set(def)
|
definition.set(def)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue