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

Commit

Permalink
feat(BuySell): UK only
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjors committed Nov 9, 2016
1 parent b8f9049 commit 435c4d6
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions assets/js/controllers/walletNavigation.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,38 +10,38 @@ function WalletNavigationCtrl ($rootScope, $scope, Wallet, MyWallet, Alerts, Sec
let accountInfo = MyWallet.wallet && MyWallet.wallet.accountInfo;
$scope.isUserInvited = accountInfo && accountInfo.invited;
$scope.isUserWhitelisted = accountInfo && [
'GB',
'DK',
'BE',
'BG',
'CZ',
'DE',
'EE',
'IE',
'EL',
'ES',
'FR',
'HR',
'IT',
'CY',
'LV',
'LT',
'LU',
'HU',
'MT',
'NL',
'AT',
'PL',
'PT',
'RO',
'SI',
'SK',
'FI',
'SE',
'NO',
'CH',
'LI',
'IS'
'GB'
// 'DK',
// 'BE',
// 'BG',
// 'CZ',
// 'DE',
// 'EE',
// 'IE',
// 'EL',
// 'ES',
// 'FR',
// 'HR',
// 'IT',
// 'CY',
// 'LV',
// 'LT',
// 'LU',
// 'HU',
// 'MT',
// 'NL',
// 'AT',
// 'PL',
// 'PT',
// 'RO',
// 'SI',
// 'SK',
// 'FI',
// 'SE',
// 'NO',
// 'CH',
// 'LI',
// 'IS'
].indexOf(accountInfo.countryCodeGuess) > -1;
// debug uninvited user and whitelisted
// $scope.isUserInvited = false;
Expand Down

0 comments on commit 435c4d6

Please sign in to comment.