From 5add8336037ac8d33c7b59760c6e8e5f16d61316 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Tue, 24 Dec 2024 12:00:56 +0100 Subject: [PATCH] Remove todo --- .../frontend-core/src/components/grid/stores/datasource.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/frontend-core/src/components/grid/stores/datasource.ts b/packages/frontend-core/src/components/grid/stores/datasource.ts index 4c8933611e..6a3bced620 100644 --- a/packages/frontend-core/src/components/grid/stores/datasource.ts +++ b/packages/frontend-core/src/components/grid/stores/datasource.ts @@ -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 | null> + schema: Readable | null> enrichedSchema: Readable | null> hasBudibaseIdentifiers: Readable } @@ -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])) {