From 83df67242fa95dd321a19189e68e3ce82f1a0837 Mon Sep 17 00:00:00 2001 From: Lucas Di Pentima Date: Wed, 13 Nov 2019 17:31:31 -0300 Subject: [PATCH] 15067: Removes unnecesssary hidden Field components. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- .../property-key-field.tsx | 16 +++++----------- .../property-value-field.tsx | 16 +++++----------- 2 files changed, 10 insertions(+), 22 deletions(-) diff --git a/src/views-components/resource-properties-form/property-key-field.tsx b/src/views-components/resource-properties-form/property-key-field.tsx index f91b6a62..eb3c8050 100644 --- a/src/views-components/resource-properties-form/property-key-field.tsx +++ b/src/views-components/resource-properties-form/property-key-field.tsx @@ -17,17 +17,11 @@ export const PROPERTY_KEY_FIELD_ID = 'keyID'; export const PropertyKeyField = connectVocabulary( ({ vocabulary }: VocabularyProp) => -
- - -
+ ); export const PropertyKeyInput = ({ vocabulary, ...props }: WrappedFieldProps & VocabularyProp) => 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 959b98ec..c2474735 100644 --- a/src/views-components/resource-properties-form/property-value-field.tsx +++ b/src/views-components/resource-properties-form/property-value-field.tsx @@ -27,17 +27,11 @@ export const PropertyValueField = compose( formValues({ propertyKey: PROPERTY_KEY_FIELD_ID }) )( (props: PropertyValueFieldProps) => -
- - -
+ ); export const PropertyValueInput = ({ vocabulary, propertyKey, ...props }: WrappedFieldProps & PropertyValueFieldProps) => -- 2.30.2