Skip to content

Commit 08dd3ea

Browse files
committed
chore: debugging weight problem
1 parent 6580d14 commit 08dd3ea

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/app/new.state/xml/xml.util.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,17 @@ export function changeWeightForSelectedVariables(
120120
frequencyTableForSelectedVariables[variableID] = frequencyTable;
121121
});
122122

123+
console.log(
124+
frequencyTableForSelectedVariables,
125+
'frequencyTableForSelectedVariables',
126+
);
123127
Object.keys(frequencyTableForSelectedVariables).forEach((variableID) => {
124128
if (duplicateVariables[variableID]) {
125129
const currentCategories = duplicateVariables[variableID].catgry;
126130
if (currentCategories && Array.isArray(currentCategories)) {
131+
console.log(currentCategories, 'currentCategories');
127132
currentCategories.map((category) => {
128133
if (Array.isArray(category.catStat)) {
129-
console.log(category.catStat);
130134
category.catStat = [
131135
category.catStat[0],
132136
{

0 commit comments

Comments
 (0)