@agilant/toga-blox 1.0.101 → 1.0.102
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -111,7 +111,7 @@ function formatTableData(columnTitles, accessors, columnConfigs, renderers = {},
|
|
|
111
111
|
const accessor = accessors[i];
|
|
112
112
|
const key = `col${i + 1}`;
|
|
113
113
|
// 1) Find the raw config from your backend array
|
|
114
|
-
const rawBackendConfig = columnConfigs
|
|
114
|
+
const rawBackendConfig = columnConfigs[0]?.default?.find((c) => c.key === key) || {
|
|
115
115
|
key,
|
|
116
116
|
type: "DEFAULT",
|
|
117
117
|
};
|