Skip to content

Commit 8d7695c

Browse files
authored
1353 - Fix fields that need to be treated as HTML (#1641)
1 parent 4ec6ff5 commit 8d7695c

4 files changed

Lines changed: 15 additions & 7 deletions

File tree

bcap/src/bcap/components/pages/details/ArchaeologicalSite/sections/DetailsSection4.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const locationAndAccess = computed(() => {
5959
const biogeographyColumns = [
6060
{ field: 'biogeography_type', label: 'Type' },
6161
{ field: 'biogeography_name', label: 'Name' },
62-
{ field: 'biogeography_description', label: 'Description' },
62+
{ field: 'biogeography_description', label: 'Description', isHtml: true },
6363
];
6464
6565
const tenureColumns = [
@@ -147,7 +147,7 @@ const streetAddressColumns = [
147147
{ field: 'street_name', label: 'Street Name' },
148148
{ field: 'city', label: 'City' },
149149
{ field: 'postal_code', label: 'Postal Code' },
150-
{ field: 'address_remarks', label: 'Address Remarks' },
150+
{ field: 'address_remarks', label: 'Address Remarks', isHtml: true },
151151
];
152152
153153
const hasCoordinates = computed(() => {

bcap/src/bcap/components/pages/details/ArchaeologicalSite/sections/DetailsSection5.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ const siteBoundaryDescriptionColumns = computed(() => [
178178
179179
const currentSpatialAccuracyColumns = computed(() => [
180180
{ field: 'latest_edit_type', label: 'Edit Type' },
181-
{ field: 'accuracy_remarks', label: 'Accuracy Remarks' },
181+
{ field: 'accuracy_remarks', label: 'Accuracy Remarks', isHtml: true },
182182
{
183183
field: EDIT_LOG_FIELDS.ENTERED_ON,
184184
label: 'Entered On',

bcap/src/bcap/components/pages/details/ArchaeologicalSite/sections/DetailsSection6.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ const cultureColumns = [
8787
8888
const chronologyColumns = [
8989
{ field: 'determination_method', label: 'Method' },
90-
{ field: 'information_source', label: 'Source' },
90+
{ field: 'information_source', label: 'Source', isHtml: true },
9191
{ field: 'chronology_remarks', label: 'Chronology Remarks', isHtml: true },
9292
{ field: 'start_year', label: 'From Date' },
9393
{ field: 'start_year_qualifier', label: 'From Date Qualifier' },

bcap/src/bcap/components/pages/details/ArchaeologicalSite/sections/DetailsSection8.vue

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,11 @@ const generalRemarkColumns = computed<ColumnDefinition[]>(() => {
7373
7474
const restrictedRemarkColumns = computed<ColumnDefinition[]>(() => {
7575
return [
76-
{ field: 'restricted_remark', label: 'Restricted Remarks' },
76+
{
77+
field: 'restricted_remark',
78+
label: 'Restricted Remarks',
79+
isHtml: true,
80+
},
7781
{
7882
field: EDIT_LOG_FIELDS.ENTERED_ON,
7983
label: 'Entered On',
@@ -131,7 +135,7 @@ const restrictedDocumentColumns = computed<ColumnDefinition[]>(() => {
131135
132136
const hcaContraventionColumns = computed<ColumnDefinition[]>(() => {
133137
return [
134-
{ field: 'inventory_remark', label: 'Inventory Remarks' },
138+
{ field: 'inventory_remark', label: 'Inventory Remarks', isHtml: true },
135139
{ field: 'contravention_address', label: 'Address' },
136140
{ field: 'contravention_pid', label: 'PID' },
137141
{ field: 'nros_file_number', label: 'NROS File #' },
@@ -151,7 +155,11 @@ const hcaContraventionColumns = computed<ColumnDefinition[]>(() => {
151155
const convictionColumns = computed<ColumnDefinition[]>(() => {
152156
return [
153157
{ field: 'conviction_date', label: 'Conviction Date' },
154-
{ field: 'conviction_details', label: 'Inventory Remarks' },
158+
{
159+
field: 'conviction_details',
160+
label: 'Inventory Remarks',
161+
isHtml: true,
162+
},
155163
{
156164
field: EDIT_LOG_FIELDS.ENTERED_ON,
157165
label: 'Entered On',

0 commit comments

Comments
 (0)