Merge pull request #1976 from Safelite/feature/CSR-2102

CSR-2102
This commit is contained in:
CarlNation 2024-09-17 13:49:06 -04:00 committed by GitHub
commit edc4d8624f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2423,7 +2423,7 @@ export const actions = {
const order = context.getters.order;
var providerNumber = order.serviceLocation?.provider?.providerNumber ?? order.serviceLocation?.zipCodeCtu;
if (providerNumber.startsWith("00")) {
if (providerNumber.startsWith("00") && providerNumber.length > 5) {
providerNumber = providerNumber.substring(1);
}