diff --git a/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.html b/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.html index cc69e912a..b23486bf3 100644 --- a/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.html +++ b/src-ui/src/app/components/common/custom-fields-query-dropdown/custom-fields-query-dropdown.component.html @@ -8,14 +8,14 @@ - + + @if (getCustomFieldByID(atom.field)?.data_type === CustomFieldDataType.Date) { + + + } @else { + + } + + +
- + - @switch (query.operator) { + @switch (atom.operator) { @case (CustomFieldQueryOperator.Exists) { - } @case (CustomFieldQueryOperator.IsNull) { - } @case (CustomFieldQueryOperator.GreaterThanOrEqual) { - @if (getCustomFieldByID(query.field)?.data_type === CustomFieldDataType.Date) { - - - } @else { - - } + } @case (CustomFieldQueryOperator.LessThanOrEqual) { - @if (getCustomFieldByID(query.field)?.data_type === CustomFieldDataType.Date) { - - - } @else { - - } + } @default { - + } } -
- +
- - - - + + + +
- @for (subquery of query.value; track subquery; let i = $index) { + @for (element of expression.value; track element; let i = $index) {
- @switch (subquery.type) { + @switch (element.type) { @case (CustomFieldQueryComponentType.Atom) { - + } @case (CustomFieldQueryComponentType.Expression) { - + } }
@@ -110,14 +104,14 @@
- - - @if (query.depth > 0) { - }