From 03effdfe45e458de688afd82f42899e02704731f Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Thu, 2 Mar 2023 23:41:21 +0800 Subject: [PATCH] fix(nocodb): add FilterType --- packages/nocodb/src/lib/models/Filter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }