From 0b84c1dd623344e9441c1ebb9b4a8d67f8845ff1 Mon Sep 17 00:00:00 2001 From: Stevie Robinson Date: Mon, 22 Jan 2024 07:54:04 +0100 Subject: [PATCH] adjust key for modal info box check Signed-off-by: Stevie Robinson --- .../Specifications/EditSpecificationModalContent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Settings/CustomFormats/CustomFormats/Specifications/EditSpecificationModalContent.js b/frontend/src/Settings/CustomFormats/CustomFormats/Specifications/EditSpecificationModalContent.js index 90e2bd142..855832620 100644 --- a/frontend/src/Settings/CustomFormats/CustomFormats/Specifications/EditSpecificationModalContent.js +++ b/frontend/src/Settings/CustomFormats/CustomFormats/Specifications/EditSpecificationModalContent.js @@ -49,7 +49,7 @@ function EditSpecificationModalContent(props) { {...otherProps} > { - fields && fields.some((x) => x.label === translate('RegularExpression')) && + fields && fields.some((x) => x.label === translate('CustomFormatsSpecificationRegularExpression')) &&