fix(Sentry TypeError): Cannot read properties of undefined (reading 'COUNTRY / PAYS')

This commit is contained in:
Ramesh Mane
2025-11-03 09:42:50 +00:00
parent 519a89e340
commit 0057c68bb4
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
}

View File

@@ -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,
}: {