diff --git a/src/components/FeatureSetsPanel/FeatureSetsPanelSchema/FeatureSetsPanelSchemaView.js b/src/components/FeatureSetsPanel/FeatureSetsPanelSchema/FeatureSetsPanelSchemaView.js index ff0b2db9d..6a313aaf0 100644 --- a/src/components/FeatureSetsPanel/FeatureSetsPanelSchema/FeatureSetsPanelSchemaView.js +++ b/src/components/FeatureSetsPanel/FeatureSetsPanelSchema/FeatureSetsPanelSchemaView.js @@ -40,8 +40,10 @@ const FeatureSetsPanelSchemaView = ({
- Each feature set must be associated with one or more index column. - when joining feature sets the entity is used as the key column. + Each feature set must be associated with one or more index column. When joining feature + sets, the entity is used as the key column. + + - setData(state => ({ ...state, timestamp_key })) - } + onChange={timestamp_key => setData(state => ({ ...state, timestamp_key }))} onBlur={event => { - if ( - featureStore.newFeatureSet.spec.timestamp_key !== - event.target.value - ) { + if (featureStore.newFeatureSet.spec.timestamp_key !== event.target.value) { setNewFeatureSetSchemaTimestampKey(event.target.value) } }} diff --git a/src/components/FeatureSetsPanel/FeatureSetsPanelSchema/featureSetsPanelSchema.scss b/src/components/FeatureSetsPanel/FeatureSetsPanelSchema/featureSetsPanelSchema.scss index dc9d80593..653d25d9a 100644 --- a/src/components/FeatureSetsPanel/FeatureSetsPanelSchema/featureSetsPanelSchema.scss +++ b/src/components/FeatureSetsPanel/FeatureSetsPanelSchema/featureSetsPanelSchema.scss @@ -16,5 +16,9 @@ &__description { margin-bottom: 10px; + + & > *:first-child { + margin-right: 5px; + } } }