Remove TODO

This commit is contained in:
Adria Navarro 2025-01-14 11:26:37 +01:00
parent bcbf16a69b
commit 9f5f0d468e
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ export const createActions = (context: StoreContext): RowActionStore => {
// Reset state properties when dataset changes // Reset state properties when dataset changes
if (!$instanceLoaded || resetRows) { if (!$instanceLoaded || resetRows) {
definition.set($fetch.definition as any) // TODO: datasource and defitions are unions of the different implementations. At this point, the datasource does not know what type is being used, and the assignations will cause TS exceptions. Casting it "as any" for now. This should be fixed improving the type usages. definition.set($fetch.definition ?? null)
} }
// Reset scroll state when data changes // Reset scroll state when data changes