datasync-dynamic-form 1.0.20 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -142,7 +142,8 @@ class DsDynamicForm extends _react.Component {
|
|
|
142
142
|
this.local_data_blob = {
|
|
143
143
|
data_tier: {}
|
|
144
144
|
};
|
|
145
|
-
this.local_data_blob.data_tier = Object.assign({}, duplicate_data_tier);
|
|
145
|
+
//this.local_data_blob.data_tier = Object.assign({}, duplicate_data_tier);
|
|
146
|
+
this.local_data_blob.data_tier = Object.assign(this.props.foreign_keys ? this.props.foreign_keys : {}, duplicate_data_tier);
|
|
146
147
|
console.log("28:this.local_data_blob.data_tier ->", this.local_data_blob.data_tier);
|
|
147
148
|
console.log("28:this.props.data_blob.data_tier ->", this.props.data_blob && this.props.data_blob.data_tier ? this.props.data_blob.data_tier : "props data_blob not set");
|
|
148
149
|
};
|