From f2b1b4c7e0121ec0b27a30e9151051658652ee44 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu, 22 Oct 2026 01:11:26 -0700 Subject: [PATCH] avoid the nasty regex --- ...ustom-fields-query-dropdown.component.html | 10 ++- .../custom-fields-query-dropdown.component.ts | 74 ++++++++++--------- 2 files changed, 47 insertions(+), 37 deletions(-) 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 ed6cc585d..3e057319a 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 @@ -39,10 +39,12 @@ @if (relativeDate) {
- + @if (relativeDate.unit.includes('{n}')) { + + }