From fa0c5bde1ea9af1cb295f9f650219d7dd3842a9b Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Sun, 26 Apr 2026 19:01:09 -0700 Subject: [PATCH] Fix constructor --- src-ui/src/app/utils/custom-field-query-element.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src-ui/src/app/utils/custom-field-query-element.ts b/src-ui/src/app/utils/custom-field-query-element.ts index 8de4edb28..24e3f6856 100644 --- a/src-ui/src/app/utils/custom-field-query-element.ts +++ b/src-ui/src/app/utils/custom-field-query-element.ts @@ -103,7 +103,13 @@ export class CustomFieldQueryAtom extends CustomFieldQueryElement { return super.operator } - constructor(queryArray: [number, string, string] = [null, null, null]) { + constructor( + queryArray: [number, string, string | string[] | number[]] = [ + null, + null, + null, + ] + ) { super(CustomFieldQueryElementType.Atom) ;[this._field, this._operator, this._value] = queryArray }