mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-25 04:05:26 +00:00
fix(Sentry TypeError): Cannot read properties of undefined (reading 'COUNTRY / PAYS')
This commit is contained in:
@@ -36,7 +36,7 @@ export function validateRowFilters(params: {
|
||||
};
|
||||
};
|
||||
}) {
|
||||
const { filters: _filters, data, columns, client, metas } = params;
|
||||
const { filters: _filters, data = {}, columns, client, metas } = params;
|
||||
if (!_filters.length) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@ export function parseBody(template: string, data: any): string {
|
||||
export async function validateCondition(
|
||||
context: NcContext,
|
||||
filters: Filter[],
|
||||
data: any,
|
||||
data: any = {},
|
||||
{
|
||||
client,
|
||||
}: {
|
||||
|
||||
Reference in New Issue
Block a user