From c016d250b96a0651e6a8ad722fe9ded0e8d240b9 Mon Sep 17 00:00:00 2001 From: Lisa-Ann B Date: Thu, 14 Dec 2023 14:43:11 -0500 Subject: [PATCH] Update title of register/edit forms based on action - #1091 --- src/components/custom/layout/entity/Header.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/custom/layout/entity/Header.jsx b/src/components/custom/layout/entity/Header.jsx index 2f1f0c72..74703b1b 100644 --- a/src/components/custom/layout/entity/Header.jsx +++ b/src/components/custom/layout/entity/Header.jsx @@ -15,7 +15,7 @@ function EntityHeader({entity, data, isEditMode, values, showGroup = true, admin return ( -

{_t(`${entity} Information`)} {values && values.status && {values.status}}

+

{isEditMode ? 'Edit' : 'Register'} {entity} {values && values.status && {values.status}}

{adminGroup && (data.pipeline_message || data.validation_message) && (equals(data['status'], 'Error') || equals(data['status'], 'Invalid')) && }/>