Skip to content

Commit

Permalink
Merge pull request #3848 from DaleMcGrew/Dale_WebApp_Mar2-2024
Browse files Browse the repository at this point in the history
Turning off "Ballot not available yet"
  • Loading branch information
DaleMcGrew authored Mar 2, 2024
2 parents 3c5e61d + d108b68 commit 85ba568
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/js/config-template.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = {
LOG_ONLY_FIRST_RENDER_EVENTS: false,
LOG_HTTP_REQUESTS: false,
LOG_ROUTING: false,
LOG_SIGNIN_STEPS: false,
LOG_SIGNIN_STEPS: false, // oAuthLog function prints to console
LOG_CORDOVA_OFFSETS: false,
SHOW_CORDOVA_URL_FIELD: false, // Only needed for debugging in Cordova

Expand Down
13 changes: 9 additions & 4 deletions src/js/pages/Ballot/Ballot.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1332,17 +1332,22 @@ class Ballot extends Component {
Requesting what is on your ballot...
</div>
</DelayedLoad>
<DelayedLoad waitBeforeShow={3000}>
<DelayedLoad waitBeforeShow={4000}>
<div>
Waiting for response...
</div>
</DelayedLoad>
<DelayedLoad waitBeforeShow={4000}>
<DelayedLoad waitBeforeShow={6000}>
<div>
<h3 className="text-center">{this.getEmptyMessageByFilterType(completionLevelFilterType)}</h3>
{emptyBallotButton}
Thank you for your patience...
</div>
</DelayedLoad>
{/* <DelayedLoad waitBeforeShow={4000}> */}
{/* <div> */}
{/* <h3 className="text-center">{this.getEmptyMessageByFilterType(completionLevelFilterType)}</h3> */}
{/* {emptyBallotButton} */}
{/* </div> */}
{/* </DelayedLoad> */}
</Suspense>
</LoadingWrapper>
) : null;
Expand Down

0 comments on commit 85ba568

Please sign in to comment.