mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 19:32:15 +00:00
fix: Don't throw errors for NaN in number operators in the filter component (#9506)
This commit is contained in:
@@ -77,6 +77,10 @@ export class Expression {
|
||||
throw new ApplicationError('invalid DateTime');
|
||||
}
|
||||
|
||||
if (value === null) {
|
||||
return 'null';
|
||||
}
|
||||
|
||||
let typeName = value.constructor.name ?? 'Object';
|
||||
if (DateTime.isDateTime(value)) {
|
||||
typeName = 'DateTime';
|
||||
|
||||
Reference in New Issue
Block a user