Skip to content

Commit

Permalink
Fix bug that was causing an empty grid when adding a new column
Browse files Browse the repository at this point in the history
  • Loading branch information
aptkingston committed Oct 10, 2023
1 parent 1c19f45 commit 7ef4dc8
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 7ef4dc8

Please sign in to comment.