diff --git a/packages/nocodb/src/lib/models/Filter.ts b/packages/nocodb/src/lib/models/Filter.ts index c9259e1e7d..0c64656c8b 100644 --- a/packages/nocodb/src/lib/models/Filter.ts +++ b/packages/nocodb/src/lib/models/Filter.ts @@ -92,7 +92,7 @@ export default class Filter implements FilterType { base_id?: string; column?: Column; - constructor(data: Filter) { + constructor(data: Filter | FilterType) { Object.assign(this, data); }