You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2025/01/24 07:51:58 UTC

(streampipes) 01/01: fix: Fix undefined error in escape-number-filter.service.ts

This is an automated email from the ASF dual-hosted git repository.

zehnder pushed a commit to branch hotfix-undefined-in-escape-number-filter
in repository https://gitbox.apache.org/repos/asf/streampipes.git

commit 3a23dc3cc945d95def5dae08b9f1ad3515b2b49b
Author: Philipp Zehnder <te...@users.noreply.github.com>
AuthorDate: Fri Jan 24 08:49:50 2025 +0100

    fix: Fix undefined error in escape-number-filter.service.ts
---
 .../filter-selection-panel-row/escape-number-filter.service.ts           | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ui/src/app/data-explorer/components/data-view/data-view-designer-panel/data-settings/filter-selection-panel/filter-selection-panel-row/escape-number-filter.service.ts b/ui/src/app/data-explorer/components/data-view/data-view-designer-panel/data-settings/filter-selection-panel/filter-selection-panel-row/escape-number-filter.service.ts
index 78042aff72..b2b848ba52 100644
--- a/ui/src/app/data-explorer/components/data-view/data-view-designer-panel/data-settings/filter-selection-panel/filter-selection-panel-row/escape-number-filter.service.ts
+++ b/ui/src/app/data-explorer/components/data-view/data-view-designer-panel/data-settings/filter-selection-panel/filter-selection-panel-row/escape-number-filter.service.ts
@@ -51,6 +51,7 @@ export class EscapeNumberFilterService {
         tagValues: Map<string, string[]>,
     ): boolean {
         return (
+            tagValues &&
             tagValues.has(filter?.field?.runtimeName) &&
             tagValues.get(filter.field.runtimeName)?.length > 0
         );