1
0
mirror of https://github.com/bitwarden/server synced 2025-12-16 08:13:33 +00:00

fix braintree customers link

This commit is contained in:
Kyle Spearrin
2018-04-07 12:40:13 -04:00
parent a1957d2506
commit 78af77036b

View File

@@ -31,8 +31,8 @@
if (gateway.value === '@((byte)Bit.Core.Enums.GatewayType.Stripe)') { if (gateway.value === '@((byte)Bit.Core.Enums.GatewayType.Stripe)') {
window.open('https://dashboard.stripe.com/customers/' + customerId.value, '_blank'); window.open('https://dashboard.stripe.com/customers/' + customerId.value, '_blank');
} else if (gateway.value === '@((byte)Bit.Core.Enums.GatewayType.Braintree)') { } else if (gateway.value === '@((byte)Bit.Core.Enums.GatewayType.Braintree)') {
window.open('https://www.braintreegateway.com/merchants/@(Model.BraintreeMerchantId)/' window.open('https://www.braintreegateway.com/merchants/@(Model.BraintreeMerchantId)/' +
+ customerId.value, '_blank'); 'customers/' + customerId.value, '_blank');
} }
}); });