Remove todo

This commit is contained in:
Adria Navarro 2024-12-24 12:00:56 +01:00
parent 6c17d3e257
commit 5add833603
1 changed files with 2 additions and 3 deletions

View File

@ -3,7 +3,6 @@ import { getDatasourceDefinition, getDatasourceSchema } from "../../../fetch"
import { enrichSchemaWithRelColumns, memo } from "../../../utils"
import { cloneDeep } from "lodash"
import {
FieldSchema,
Row,
SaveRowRequest,
SaveTableRequest,
@ -23,7 +22,7 @@ interface DatasourceStore {
}
interface DerivedDatasourceStore {
schema: Readable<Record<string, FieldSchema> | null>
schema: Readable<Record<string, UIFieldSchema> | null>
enrichedSchema: Readable<Record<string, UIFieldSchema> | null>
hasBudibaseIdentifiers: Readable<boolean>
}
@ -291,7 +290,7 @@ export const createActions = (context: StoreContext): ActionDatasourceStore => {
newSchema[column] = {
...$schema[column],
...$schemaMutations[column],
} as UIFieldSchema // TODO
}
if ($subSchemaMutations[column]) {
newSchema[column].columns ??= {}
for (const fieldName of Object.keys($subSchemaMutations[column])) {