Skip to content

Commit 5c8e8f6

Browse files
authored
Merge pull request #301 from YujithIsura/master
lint
2 parents 1a7db7f + a7735bb commit 5c8e8f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: client/src/modules/election/ActiveElectionForm.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ class ActiveElectionForm extends React.Component {
381381
getStepContent(step, values) {
382382
const { CallElectionData,rowHeaders } = this.props;
383383
var rowHeadersForRpp = rowHeaders.filter(x => x.team_party_type === "RPP");
384-
var rowHeadersForIg = rowHeaders.filter(x => x.team_party_type === "IG");
384+
var rowHeadersForIg = rowHeaders.filter(x => x.team_party_type === "IND");
385385
const { errorTextNominationStart, errorTextNominationEnd, errorTextObjectionStart, errorTextObjectionEnd, errorTextPaymentStart, errorTextPaymentEnd, errorTextApprovalStart, errorTextApprovalEnd } = this.state;
386386
const errorTextItems = { errorTextNominationStart, errorTextNominationEnd, errorTextObjectionStart, errorTextObjectionEnd, errorTextPaymentStart, errorTextPaymentEnd, errorTextApprovalStart, errorTextApprovalEnd }
387387

Diff for: client/src/modules/election/AllowNominationView.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class AllowNomination extends React.Component {
5959
// return record;
6060
// });
6161
var rowHeadersForRpp = rowHeaders.filter(x => x.team_party_type === "RPP");
62-
var rowHeadersForIg = rowHeaders.filter(x => x.team_party_type === "IG");
62+
var rowHeadersForIg = rowHeaders.filter(x => x.team_party_type === "IND");
6363

6464

6565
const data = rowHeadersForRpp.map((record) => {

0 commit comments

Comments
 (0)