mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-25 08:00:59 +00:00
fix: wait for api to be read to load explorer table
This commit is contained in:
+2
-1
@@ -319,7 +319,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
$: resolvedConfig && updateOptions()
|
||||
$: api && resolvedConfig && updateOptions()
|
||||
|
||||
let oldDatasource = datasource
|
||||
$: if (datasource && datasource != oldDatasource) {
|
||||
@@ -359,6 +359,7 @@
|
||||
}
|
||||
|
||||
function updateOptions() {
|
||||
// console.debug('updateOptions', resolvedConfig, api)
|
||||
api?.updateGridOptions({
|
||||
columnDefs: transformColumnDefs(resolvedConfig?.columnDefs),
|
||||
defaultColDef: {
|
||||
|
||||
Reference in New Issue
Block a user