dce-reactkit 3.2.2-beta.55 → 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
|
@@ -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
|
|
|
@@ -766,7 +766,7 @@ const LogReviewer: React.FC<Props> = (props) => {
|
|
|
766
766
|
// Create initial context filter state
|
|
767
767
|
const initContextFilterState: ContextFilterState = {};
|
|
768
768
|
Object.keys(contextMap).forEach((context) => {
|
|
769
|
-
const contextValue =
|
|
769
|
+
const contextValue = contextMap[context];
|
|
770
770
|
if (typeof contextValue === 'string') {
|
|
771
771
|
// Case: no subcontexts, init as checked
|
|
772
772
|
initContextFilterState[contextValue] = true;
|
|
@@ -790,6 +790,7 @@ const LogReviewer: React.FC<Props> = (props) => {
|
|
|
790
790
|
Object.keys(LogMetadata.Tag ?? {}).forEach((tag) => {
|
|
791
791
|
initTagFilterState[tag] = false;
|
|
792
792
|
});
|
|
793
|
+
console.log(contextMap, initContextFilterState, initTagFilterState);
|
|
793
794
|
|
|
794
795
|
// Create advanced filter state
|
|
795
796
|
const initAdvancedFilterState: AdvancedFilterState = {
|