Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

Commit

Permalink
fix(Banner): show announcement once
Browse files Browse the repository at this point in the history
  • Loading branch information
plondon committed Dec 19, 2017
1 parent 145de3e commit e718017
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/partials/sfox/checkout.pug
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ bc-tabs(tab="tabs.selectedTab" tab-options="tabs.options" on-select="tabs.select
span.f-24.center.blue.pb-15(translate="Stay Tuned!")
span.f-18.center(translate="SFOX.buy.COMING_SOON")
.mt-30.center(ng-show="hasSignedUpForSfoxBuyAccess()")
span(translate="Thanks for submitting your email. We'll let you know when it's ready 💁")
span(translate="Thanks for submitting your email. We'll let you know when it's ready 📬")
form.bc-form.mt-50(ng-submit="signupForBuyAccess()" ng-hide="hasSignedUpForSfoxBuyAccess()")
.mt-20
.group
Expand Down
4 changes: 2 additions & 2 deletions assets/js/services/sfox.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function sfox ($q, MyWallet, Alerts, modals, Env, Exchange, currency, localStora
service._accounts = val;
},
get hasSeen () {
return service.exchange.hasSeen;
return localStorageService.get('sfox-has-seen');
},
get verificationStatus () {
return service.profile.verificationStatus;
Expand Down Expand Up @@ -98,7 +98,7 @@ function sfox ($q, MyWallet, Alerts, modals, Env, Exchange, currency, localStora
}

function setHasSeen () {
service.exchange.setHasSeen(true);
localStorageService.set('sfox-has-seen', true);
}

function showAnnouncement (canTrade, isSFOXCountryState) {
Expand Down
6 changes: 3 additions & 3 deletions rootApp/Resources/wallet-options.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@
"states": ["AZ", "CA", "CO", "DE", "IN", "ID", "IL", "KS", "KY", "MA", "MD",
"ME", "MI", "MO", "MT", "OH", "NY", "PA", "SC", "TN", "TX", "UT", "VA"],
"inviteFormFraction": 0.1,
"apiKey": "6fbfb80536564af8bbedb7e3be4ec439",
"apiKey": "f31614a7-5074-49f2-8c2a-bfb8e55de2bd",
"plaid": "0b041cd9e9fbf1e7d93a0d5a39f5b9",
"plaidEnv": "tartan",
"siftScience": "3884e5fae5",
"plaidEnv": "production",
"siftScience": "a19cc360a1",
"surveyLinks": ["https://blockchain.co1.qualtrics.com/jfe/form/SV_9BuZyJxdOT0Psb3",
"https://blockchain.co1.qualtrics.com/jfe/form/SV_8cE4saqzhlLXngN",
"https://blockchain.co1.qualtrics.com/jfe/form/SV_50v2ta2RiXMGx7v",
Expand Down

0 comments on commit e718017

Please sign in to comment.