Skip to content

Commit

Permalink
feat(cad): Update CAD pages
Browse files Browse the repository at this point in the history
  • Loading branch information
vbudhram committed Sep 25, 2024
1 parent 56738ab commit ab66b5a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion packages/fxa-content-server/app/scripts/lib/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ module.exports = {
FIREFOX_SYNCED_TABS_ENTRYPOINT: 'synced-tabs',
FIREFOX_TABS_SIDEBAR_ENTRYPOINT: 'tabs-sidebar',
FIREFOX_FX_VIEW_ENTRYPOINT: 'fx-view',
FIREFOX_AVATAR_ENTRYPOINT: 'fxa_avatar_menu',

// This is compared against all secondary email
// records, both verified and unverified
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,7 @@ const ConnectAnotherDeviceView = FormView.extend({

// If users are signed in, directly access this page (no query params)
// on desktop, redirect them
if (
(this._isSignedIn() &&
window.location.search === '' &&
!this.getUserAgent().isMobile()) ||
this.getSearchParam('entrypoint') === Constants.FIREFOX_AVATAR_ENTRYPOINT
) {
if (this._isSignedIn() && !this.getUserAgent().isMobile()) {
this.navigate('/pair');
}
},
Expand Down

0 comments on commit ab66b5a

Please sign in to comment.