Skip to content

Commit 18475e5

Browse files
committed
remove subcodes
1 parent 1eaab58 commit 18475e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth-web/src/composables/product-payment-factory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export const useProductPayment = (props, state) => {
117117
const derivedProductList = props.isCreateAccount ? currentSelectedProducts.value : productList.value
118118
.filter(item => item.subscriptionStatus === ProductStatus.ACTIVE)
119119
// Remove MHR sub products.
120-
.filter(item => !item.code.startsWith('MHR_'))
120+
.filter(item => !item.parentCode)
121121
.map(item => item.code)
122122
const paymentMethodProducts = {}
123123
for (const [product, methods] of Object.entries(productPaymentMethods)) {

0 commit comments

Comments
 (0)