Skip to content

Commit

Permalink
Fix list questions displayed for unlinked list collectors
Browse files Browse the repository at this point in the history
  • Loading branch information
farres1 committed Dec 4, 2023
1 parent 90d5d9f commit 987b2cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const RoutingAnswerContentPicker = ({
const filteredPreviousAnswers = previousAnswers.map((answer) => {
return {
...answer,
folders: answer.folders.filter((folder) => !folder.listId),
folders: answer.folders.filter((folder) => folder.listId == null),
};
});

Expand Down
2 changes: 1 addition & 1 deletion eq-author/src/components/RichTextEditor/PipingMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const PipingMenu = ({
const filteredAnswerData = answerData.map((answer) => {
return {
...answer,
folders: answer.folders.filter((folder) => !folder.listId),
folders: answer.folders.filter((folder) => folder.listId == null),
};
});

Expand Down

0 comments on commit 987b2cb

Please sign in to comment.