Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #137 from MetadataWorks/functional-test
Browse files Browse the repository at this point in the history
Functional test
  • Loading branch information
StuLast authored Mar 26, 2024
2 parents b61b479 + 7f7e56b commit feb7679
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ui/components/Form/CheckboxGroup.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import classnames from 'classnames';
import styles from './CheckboxGroup.module.scss';

function getOptionId(id, option) {
const key = option.value
const key = (option.value ? option.value : '')
.toString()
.split('')
.reduce((str, char) => str + char.charCodeAt(0), '');
Expand Down
4 changes: 2 additions & 2 deletions ui/schema/future-standards/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ const schema = [
},
comply_by_date: {
hide_when_empty: true,
label: 'Comply by',
label: 'Conformance date',
format: (val) => formatDate(val),
},
implementation_from_date: {
Expand Down Expand Up @@ -408,7 +408,7 @@ export const upcomingStandard = [
<Dt>Implement from:</Dt>
<Dd>{formatDate(row.implementation_from_date)}</Dd>

<Dt>Comply by:</Dt>
<Dt>Conformance date:</Dt>
<Dd>{formatDate(row.comply_by_date)}</Dd>
</Dl>
),
Expand Down
4 changes: 2 additions & 2 deletions ui/schema/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ const schema = [
},
comply_by_date: {
hide_when_empty: true,
label: 'Comply by',
label: 'Conformance date',
format: (val) => formatDate(val),
},
implementation_from_date: {
Expand Down Expand Up @@ -403,7 +403,7 @@ export const upcomingStandard = [
<Dt>Implement from:</Dt>
<Dd>{formatDate(row.implementation_from_date)}</Dd>

<Dt>Comply by:</Dt>
<Dt>Conformance date:</Dt>
<Dd>{formatDate(row.comply_by_date)}</Dd>
</Dl>
),
Expand Down
4 changes: 2 additions & 2 deletions ui/schema/published-standards/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ const schema = [
},
comply_by_date: {
hide_when_empty: true,
label: 'Comply by',
label: 'Conformance date',
format: (val) => formatDate(val),
},
implementation_from_date: {
Expand Down Expand Up @@ -402,7 +402,7 @@ export const upcomingStandard = [
<Dt>Implement from:</Dt>
<Dd>{formatDate(row.implementation_from_date)}</Dd>

<Dt>Comply by:</Dt>
<Dt>Conformance date:</Dt>
<Dd>{formatDate(row.comply_by_date)}</Dd>
</Dl>
),
Expand Down

0 comments on commit feb7679

Please sign in to comment.