File tree Expand file tree Collapse file tree
tests/components/Forms/__snapshots__ Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -122,10 +122,6 @@ export class PermitAmendmentForm extends Component {
122122 this . props . initialValues . permit_prefix === "C" ||
123123 this . props . initialValues . permit_prefix === "M" ;
124124
125- const showWarning =
126- this . props ?. title ?. includes ( "Edit" ) ||
127- this . props ?. title ?. includes ( "Add Permit Amendment" ) ;
128-
129125 return (
130126 < FormWrapper
131127 onSubmit = { this . props . onSubmit }
@@ -230,16 +226,12 @@ export class PermitAmendmentForm extends Component {
230226 />
231227 </ Form . Item >
232228 ) }
233- { showWarning && (
234- < >
235- < p >
236- < b > Warning</ b > : Files uploaded here will be visible to the proponent and may be publicly posted on external websites
237- including BC Mines Information Website without further review. Please ensure all attachments comply with
238- FOIPPA (Freedom of Information and Protection of Privacy Act) requirements and do not include personal or sensitive information.
239- </ p >
240- < br />
241- </ >
242- ) }
229+ < p >
230+ < b > Warning</ b > : Files uploaded here will be visible to the proponent and may be publicly posted on external websites
231+ including BC Mines Information Website without further review. Please ensure all attachments comply with
232+ FOIPPA (Freedom of Information and Protection of Privacy Act) requirements and do not include personal or sensitive information.
233+ </ p >
234+ < br />
243235 < Form . Item label = "Upload files" >
244236 < Field
245237 id = "PermitDocumentFileUpload"
Original file line number Diff line number Diff line change @@ -602,6 +602,13 @@ exports[`PermitAmendmentForm renders properly 1`] = `
602602 class = " ant-col border--left--layout ant-col-sm-24 ant-col-md-12"
603603 style = " padding-left: 24px; padding-right: 24px;"
604604 >
605+ <p >
606+ <b >
607+ Warning
608+ </b >
609+ : Files uploaded here will be visible to the proponent and may be publicly posted on external websites including BC Mines Information Website without further review. Please ensure all attachments comply with FOIPPA (Freedom of Information and Protection of Privacy Act) requirements and do not include personal or sensitive information.
610+ </p >
611+ <br />
605612 <div
606613 class = " ant-form-item"
607614 >
You can’t perform that action at this time.
0 commit comments