From: Michal Klobukowski Date: Tue, 27 Nov 2018 22:19:52 +0000 (+0100) Subject: Extract PROPERTY_VALUE_FIELD_NAME X-Git-Tag: 1.3.0~5^2^2^2~21 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/6453a6063ff9745b4d78552ecc083f38c8fde2a4 Extract PROPERTY_VALUE_FIELD_NAME Feature #14393 Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski --- diff --git a/src/views-components/resource-properties-form/property-value-field.tsx b/src/views-components/resource-properties-form/property-value-field.tsx index e73c66be..a9edc804 100644 --- a/src/views-components/resource-properties-form/property-value-field.tsx +++ b/src/views-components/resource-properties-form/property-value-field.tsx @@ -28,13 +28,15 @@ const mapStateToProps = (state: RootState): VocabularyProp => ({ vocabulary: getVocabulary(state.properties), }); +export const PROPERTY_VALUE_FIELD_NAME = 'value'; + export const PropertyValueField = compose( connect(mapStateToProps), formValues({ propertyKey: PROPERTY_KEY_FIELD_NAME }) )( (props: PropertyValueFieldProps) => );