Skip to content

Commit

Permalink
Add else to ternary condition to prevent jinja from erroring (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
bameyrick authored Apr 26, 2019
1 parent fcf503a commit 6fb7942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/footer/_macro.njk
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
onsButton({
"id": params.button.id,
"type": params.button.type,
"classes": "btn--ghost-blue" + (" " + params.button.classes if params.button.classes),
"classes": "btn--ghost-blue" + (" " + params.button.classes if params.button.classes else ""),
"text": params.button.text,
"html": params.button.html,
"name": params.button.name,
Expand Down

0 comments on commit 6fb7942

Please sign in to comment.