From c274c9315571c6991347a212765b43f6d2d08f4a Mon Sep 17 00:00:00 2001 From: Philip Bardy <146740183+pbardy2000@users.noreply.github.com> Date: Fri, 8 Nov 2024 09:14:24 +0000 Subject: [PATCH] fix(cb2-13642): when prohibition issue is hidden in edit mode, hide it on the review screen (#1635) --- .../test/contingency/contingency-test-section-group1.template.ts | 1 + .../contingency-test-section-group12and14.template.ts | 1 + .../contingency/contingency-test-section-group6And11.template.ts | 1 + .../contingency/contingency-test-section-group9And10.template.ts | 1 + .../contingency-test-section-group9And10CentralDocs.template.ts | 1 + 5 files changed, 5 insertions(+) diff --git a/src/app/forms/templates/test-records/section-templates/test/contingency/contingency-test-section-group1.template.ts b/src/app/forms/templates/test-records/section-templates/test/contingency/contingency-test-section-group1.template.ts index 6a69af2c52..63d12a2e6c 100644 --- a/src/app/forms/templates/test-records/section-templates/test/contingency/contingency-test-section-group1.template.ts +++ b/src/app/forms/templates/test-records/section-templates/test/contingency/contingency-test-section-group1.template.ts @@ -119,6 +119,7 @@ export const ContingencyTestSectionGroup1: FormNode = { label: 'Prohibition issued', type: FormNodeTypes.CONTROL, value: null, + viewType: FormNodeViewTypes.HIDDEN, editType: FormNodeEditTypes.HIDDEN, required: true, }, diff --git a/src/app/forms/templates/test-records/section-templates/test/contingency/contingency-test-section-group12and14.template.ts b/src/app/forms/templates/test-records/section-templates/test/contingency/contingency-test-section-group12and14.template.ts index 142b316bf2..6507e6f841 100644 --- a/src/app/forms/templates/test-records/section-templates/test/contingency/contingency-test-section-group12and14.template.ts +++ b/src/app/forms/templates/test-records/section-templates/test/contingency/contingency-test-section-group12and14.template.ts @@ -113,6 +113,7 @@ export const ContingencyTestSectionGroup12and14: FormNode = { label: 'Prohibition issued', type: FormNodeTypes.CONTROL, value: null, + viewType: FormNodeViewTypes.HIDDEN, editType: FormNodeEditTypes.HIDDEN, required: true, }, diff --git a/src/app/forms/templates/test-records/section-templates/test/contingency/contingency-test-section-group6And11.template.ts b/src/app/forms/templates/test-records/section-templates/test/contingency/contingency-test-section-group6And11.template.ts index c20b8fb9ed..78eb222db5 100644 --- a/src/app/forms/templates/test-records/section-templates/test/contingency/contingency-test-section-group6And11.template.ts +++ b/src/app/forms/templates/test-records/section-templates/test/contingency/contingency-test-section-group6And11.template.ts @@ -120,6 +120,7 @@ export const ContingencyTestSectionGroup6And11: FormNode = { label: 'Prohibition issued', type: FormNodeTypes.CONTROL, value: null, + viewType: FormNodeViewTypes.HIDDEN, editType: FormNodeEditTypes.HIDDEN, required: true, }, diff --git a/src/app/forms/templates/test-records/section-templates/test/contingency/contingency-test-section-group9And10.template.ts b/src/app/forms/templates/test-records/section-templates/test/contingency/contingency-test-section-group9And10.template.ts index a984c833c3..e83df76af3 100644 --- a/src/app/forms/templates/test-records/section-templates/test/contingency/contingency-test-section-group9And10.template.ts +++ b/src/app/forms/templates/test-records/section-templates/test/contingency/contingency-test-section-group9And10.template.ts @@ -121,6 +121,7 @@ export const ContingencyTestSectionGroup9And10: FormNode = { label: 'Prohibition issued', type: FormNodeTypes.CONTROL, value: null, + viewType: FormNodeViewTypes.HIDDEN, editType: FormNodeEditTypes.HIDDEN, required: true, }, diff --git a/src/app/forms/templates/test-records/section-templates/test/contingency/contingency-test-section-group9And10CentralDocs.template.ts b/src/app/forms/templates/test-records/section-templates/test/contingency/contingency-test-section-group9And10CentralDocs.template.ts index 32094b0e28..4644012b7c 100644 --- a/src/app/forms/templates/test-records/section-templates/test/contingency/contingency-test-section-group9And10CentralDocs.template.ts +++ b/src/app/forms/templates/test-records/section-templates/test/contingency/contingency-test-section-group9And10CentralDocs.template.ts @@ -154,6 +154,7 @@ export const ContingencyTestSectionGroup9And10CentralDocs: FormNode = { label: 'Prohibition issued', type: FormNodeTypes.CONTROL, value: null, + viewType: FormNodeViewTypes.HIDDEN, editType: FormNodeEditTypes.HIDDEN, required: true, },