Skip to content

Commit

Permalink
[candidate_parameters] Fix loading of candidate_parameters page
Browse files Browse the repository at this point in the history
The candidate_parameters pages were missing a number of import statements
for elements from Form.js, making the page not load. This adds the missing
imports.

Resolves aces#8968
  • Loading branch information
driusan committed Nov 21, 2023
1 parent 6a9a11c commit a5c89b5
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,8 @@ login:
mri_violations:
target=mri_violations npm run compile

candidate_parameters:
target=candidate_parameters npm run compile

dashboard:
target=dashboard npm run compile
6 changes: 6 additions & 0 deletions modules/candidate_parameters/jsx/CandidateDOB.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ import React, {Component} from 'react';
import PropTypes from 'prop-types';
import Loader from 'Loader';
import swal from 'sweetalert2';
import {
FormElement,
StaticElement,
ButtonElement,
DateElement,
} from 'jsx/Form';

/**
* Candidate date of birth component
Expand Down
6 changes: 6 additions & 0 deletions modules/candidate_parameters/jsx/CandidateDOD.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ import React, {Component} from 'react';
import PropTypes from 'prop-types';
import Loader from 'Loader';
import swal from 'sweetalert2';
import {
FormElement,
StaticElement,
DateElement,
ButtonElement,
} from 'jsx/Form';

/**
* Candidate date of death component
Expand Down
8 changes: 8 additions & 0 deletions modules/candidate_parameters/jsx/CandidateInfo.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
import React, {Component} from 'react';
import PropTypes from 'prop-types';
import {
FormElement,
StaticElement,
SelectElement,
DateElement,
ButtonElement,
TextareaElement,
} from 'jsx/Form';

/**
* Candiate info component
Expand Down
8 changes: 8 additions & 0 deletions modules/candidate_parameters/jsx/ConsentStatus.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ import swal from 'sweetalert2';

import {VerticalTabs, TabPane} from 'Tabs';
import Loader from 'Loader';
import {
FormElement,
StaticElement,
ButtonElement,
HeaderElement,
SelectElement,
DateElement,
} from 'jsx/Form';

/**
* Consent Status Component.
Expand Down
7 changes: 7 additions & 0 deletions modules/candidate_parameters/jsx/ParticipantStatus.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
import React, {Component} from 'react';
import PropTypes from 'prop-types';
import {
FormElement,
StaticElement,
SelectElement,
TextareaElement,
ButtonElement,
} from 'jsx/Form';

/**
* Participant status component
Expand Down

0 comments on commit a5c89b5

Please sign in to comment.