Skip to content

Commit

Permalink
new sim type
Browse files Browse the repository at this point in the history
  • Loading branch information
adeebshihadeh committed Nov 16, 2023
1 parent b22c08c commit 4627e1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Prime/PrimeCheckout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ class PrimeCheckout extends Component {
&& subscribeInfo.sim_id
&& subscribeInfo.is_prime_sim
&& subscribeInfo.sim_usable !== false
&& ['blue', 'magenta_new'].includes(subscribeInfo.sim_type),
&& ['blue', 'magenta_new', 'webbing'].includes(subscribeInfo.sim_type),
);
}

Expand Down Expand Up @@ -311,7 +311,7 @@ class PrimeCheckout extends Component {
disabledDataPlanText = 'Standard plan not available, device could not be reached. Connect device to the internet and try again.';
} else if (!subscribeInfo.is_prime_sim) {
disabledDataPlanText = 'Standard plan not available, detected a third-party SIM.';
} else if (!['blue', 'magenta_new'].includes(subscribeInfo.sim_type)) {
} else if (!['blue', 'magenta_new', 'webbing'].includes(subscribeInfo.sim_type)) {
disabledDataPlanText = ['Standard plan not available, old SIM type detected, new SIM cards are available in the ',
<a key={1} href="https://comma.ai/shop/comma-prime-sim">shop</a>];
} else if (subscribeInfo.sim_usable === false && subscribeInfo.sim_type === 'blue') {
Expand Down

0 comments on commit 4627e1e

Please sign in to comment.