From b9cc0d73d32f86d077d7e273a1ea2e0613720939 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Tue, 13 Aug 2024 11:40:51 +0200 Subject: [PATCH] single equal sign --- .../utils/data-path-property-value-filter.function.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/validation/utils/data-path-property-value-filter.function.ts b/src/Umbraco.Web.UI.Client/src/packages/core/validation/utils/data-path-property-value-filter.function.ts index 408cf91b06..52953837cd 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/validation/utils/data-path-property-value-filter.function.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/validation/utils/data-path-property-value-filter.function.ts @@ -14,10 +14,10 @@ export function UmbDataPathPropertyValueFilter( // write a array of strings for each property, where alias must be present and culture and segment are optional const filters: Array = [`@.alias = '${value.alias}'`]; if (value.culture) { - filters.push(`@.culture == '${value.culture}'`); + filters.push(`@.culture = '${value.culture}'`); } if (value.segment) { - filters.push(`@.segment == '${value.segment}'`); + filters.push(`@.segment = '${value.segment}'`); } return `?(${filters.join(' && ')})`; }