Skip to content

Commit

Permalink
Merge pull request #4012 from DaleMcGrew/Dale_WebApp_Sept4-2024
Browse files Browse the repository at this point in the history
Split out VoterPlan from VoterPlanModal. Made adjustments to PositionRowListCompressed styles.
  • Loading branch information
DaleMcGrew authored Sep 5, 2024
2 parents c64caae + 4265b35 commit 3acbeec
Show file tree
Hide file tree
Showing 5 changed files with 766 additions and 438 deletions.
3 changes: 2 additions & 1 deletion src/js/common/components/Challenge/JoinChallengeButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ class JoinChallengeButton extends React.Component {
const { challengeBasePath } = this.props;
const { voterFirstName } = this.state;
// TODO: Check to see if voter has filled out a voting plan
const itemsAreMissing = true; // Temporarily assume we have something we need from voter
if (VoterStore.getVoterIsSignedIn()) {
let setUpAccountEntryPath = '';
if (!voterFirstName) {
if (!voterFirstName || itemsAreMissing) {
setUpAccountEntryPath = `${challengeBasePath}join-challenge`;
} else {
setUpAccountEntryPath = `${challengeBasePath}customize-message`;
Expand Down
Loading

0 comments on commit 3acbeec

Please sign in to comment.