Skip to content

Commit

Permalink
Merge pull request #301 from YujithIsura/master
Browse files Browse the repository at this point in the history
lint
  • Loading branch information
YujithIsura authored Mar 19, 2020
2 parents 1a7db7f + a7735bb commit 5c8e8f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/modules/election/ActiveElectionForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ class ActiveElectionForm extends React.Component {
getStepContent(step, values) {
const { CallElectionData,rowHeaders } = this.props;
var rowHeadersForRpp = rowHeaders.filter(x => x.team_party_type === "RPP");
var rowHeadersForIg = rowHeaders.filter(x => x.team_party_type === "IG");
var rowHeadersForIg = rowHeaders.filter(x => x.team_party_type === "IND");
const { errorTextNominationStart, errorTextNominationEnd, errorTextObjectionStart, errorTextObjectionEnd, errorTextPaymentStart, errorTextPaymentEnd, errorTextApprovalStart, errorTextApprovalEnd } = this.state;
const errorTextItems = { errorTextNominationStart, errorTextNominationEnd, errorTextObjectionStart, errorTextObjectionEnd, errorTextPaymentStart, errorTextPaymentEnd, errorTextApprovalStart, errorTextApprovalEnd }

Expand Down
2 changes: 1 addition & 1 deletion client/src/modules/election/AllowNominationView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class AllowNomination extends React.Component {
// return record;
// });
var rowHeadersForRpp = rowHeaders.filter(x => x.team_party_type === "RPP");
var rowHeadersForIg = rowHeaders.filter(x => x.team_party_type === "IG");
var rowHeadersForIg = rowHeaders.filter(x => x.team_party_type === "IND");


const data = rowHeadersForRpp.map((record) => {
Expand Down

0 comments on commit 5c8e8f6

Please sign in to comment.