Unverified Commit 50f868cb authored by Kevin Di Lallo's avatar Kevin Di Lallo Committed by GitHub
Browse files

Merge pull request #234 from dilallkx/kd_sp15_fix_frontend

Frontend Fix for Cypress tests
parents fde6c6db 37fba586
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -138,11 +138,8 @@ class MeepContainer extends Component {
    document.title = 'AdvantEDGE';
    this.setBasepath(this.props.sandbox);
    this.refreshScenario();
    this.startTimers();
    this.monitorTabFocus();
  }

  componentWillMount() {
    this.meepAuthApi.loginSupported((_, __, response) => {
      if (response.status === 404) {
        this.props.changeSignInStatus(STATUS_SIGNIN_NOT_SUPPORTED);
@@ -153,8 +150,11 @@ class MeepContainer extends Component {
        this.props.changeSignInStatus(STATUS_SIGNED_OUT);
        this.logout();
      }
      this.startTimers();
    });
  }

  componentWillMount() {
    // Handle OAuth login in progress
    if (this.props.signInStatus === STATUS_SIGNING_IN) {
      let params = (new URL(document.location)).searchParams;