dce-reactkit 3.2.2-beta.56 → 3.2.2-beta.57

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dce-reactkit",
3
- "version": "3.2.2-beta.56",
3
+ "version": "3.2.2-beta.57",
4
4
  "description": "Shared components for Harvard DCE apps",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -722,7 +722,7 @@ const LogReviewer: React.FC<Props> = (props) => {
722
722
  ].forEach((partialContextMap) => {
723
723
  Object.keys(partialContextMap).forEach((context) => {
724
724
  // Add context
725
- contextMap[context] = context;
725
+ contextMap[context] = partialContextMap[context];
726
726
 
727
727
  // If context has children, add an "uncategorized" subcontext
728
728
  if (typeof contextMap[context] !== 'string') {
@@ -740,7 +740,7 @@ const LogReviewer: React.FC<Props> = (props) => {
740
740
  LogBuiltInMetadata.Target,
741
741
  ].forEach((partialTargetMap) => {
742
742
  Object.keys(partialTargetMap).forEach((target) => {
743
- targetMap[target] = target;
743
+ targetMap[target] = partialTargetMap[target];
744
744
  });
745
745
  });
746
746