diff --git a/server/views/pages/sentence.njk b/server/views/pages/sentence.njk index 048abf3..19b945d 100644 --- a/server/views/pages/sentence.njk +++ b/server/views/pages/sentence.njk @@ -152,7 +152,7 @@ { key: { text: 'Notes' }, value: { html: notes } - } if licenceCondition.notes + } if notes != 'No notes' ] }) }} {% endset %} diff --git a/wiremock/mappings/X000001-sentence.json b/wiremock/mappings/X000001-sentence.json index 3838266..7999e45 100644 --- a/wiremock/mappings/X000001-sentence.json +++ b/wiremock/mappings/X000001-sentence.json @@ -173,8 +173,7 @@ } ], "courtDocuments": [], - "unpaidWorkProgress": "3 minutes completed (of 12 hours)", - "licenceConditions": [] + "unpaidWorkProgress": "3 minutes completed (of 12 hours)" } ], "probationHistory": { diff --git a/wiremock/mappings/X778160-sentence.json b/wiremock/mappings/X778160-sentence.json index 7a7b5ed..9154cbb 100644 --- a/wiremock/mappings/X778160-sentence.json +++ b/wiremock/mappings/X778160-sentence.json @@ -68,8 +68,7 @@ "documentName": "Previous convictions" } ], - "unpaidWorkProgress": "7 minutes completed (of 100 hours)", - "licenceConditions": [] + "unpaidWorkProgress": "7 minutes completed (of 100 hours)" } ], "probationHistory": {