Skip to content

Commit

Permalink
[SDPSUP-608] Fix for grant accordion error if body is null. (#477)
Browse files Browse the repository at this point in the history
  • Loading branch information
dylankelly authored Aug 18, 2019
1 parent 1977e2a commit 9aa740f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ripple-nuxt-tide/modules/grant/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export default {
title: this.page.field_node_guidelines.field_paragraph_title,
accordions: this.page.field_node_guidelines.field_paragraph_accordion ? this.page.field_node_guidelines.field_paragraph_accordion.map(acc => ({
title: acc.field_paragraph_accordion_name,
content: acc.field_paragraph_accordion_body.processed
content: acc.field_paragraph_accordion_body ? acc.field_paragraph_accordion_body.processed : ''
})) : []
}
}
Expand Down

0 comments on commit 9aa740f

Please sign in to comment.