Skip to content

Commit

Permalink
Fix error on explorer not loading
Browse files Browse the repository at this point in the history
  • Loading branch information
nana-boateng committed Jul 19, 2024
1 parent c02876f commit 3aeeec3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/new.state/xml/xml.reducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const xmlReducer = createReducer(
const variables = duplicateState.dataset?.codeBook.dataDscr.var || [];
const variableGroups =
duplicateState.dataset?.codeBook.dataDscr.varGrp || [];
if (duplicateState.dataset && variables.length && variableGroups.length) {
if (duplicateState.dataset && variables.length) {
const variablesMatched: MatchVariables = matchVariableIDs(
importDdiData.codeBook.dataDscr.var,
variables,
Expand Down
1 change: 0 additions & 1 deletion src/app/new.state/xml/xml.util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,6 @@ function editSingleVariable(
currentVariableCloned.universe =
importedVariablesMatched.importedVariable.universe;
}
console.log(currentVariableCloned);
return currentVariableCloned;
}

Expand Down

0 comments on commit 3aeeec3

Please sign in to comment.