From 753aad6ef8d0a6dfad38adebfea2036bdf1e7038 Mon Sep 17 00:00:00 2001 From: pbardy2000 <146740183+pbardy2000@users.noreply.github.com> Date: Thu, 7 Nov 2024 11:50:36 +0000 Subject: [PATCH] fix(cb2-13642): when prohibition issue is hidden in edit mode, hide it on the review screen --- .../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 6a69af2c5..63d12a2e6 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 142b316bf..6507e6f84 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 c20b8fb9e..78eb222db 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 a984c833c..e83df76af 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 32094b0e2..4644012b7 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, },