Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Joel committed Jul 20, 2022
1 parent 136219e commit 3c48e91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/eq_schema/builders/confirmationPage/ConfirmationPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ const buildAuthorConfirmationQuestion = (page, groupId, routing, ctx) => {
};

const checkBoxTransform = [{
text: "{checkboxAnswers}",
text: "{checkbox_answers}",
placeholders: [
{
placeholder: "checkboxAnswers",
placeholder: "checkbox_answers",
transforms: [
{
transform: "format_list",
Expand Down
4 changes: 2 additions & 2 deletions src/eq_schema/schema/Group/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -448,9 +448,9 @@ describe("Group", () => {
const resultantJson = new Group(folder, ctx);
expect(resultantJson.blocks[1].question.description).toEqual([
{
text: "{checkboxAnswers}",
text: "{checkbox_answers}",
placeholders: [{
placeholder: "checkboxAnswers",
placeholder: "checkbox_answers",
transforms: [{
arguments: {
list_to_format: {
Expand Down

0 comments on commit 3c48e91

Please sign in to comment.