Skip to content

Commit

Permalink
πŸ› Fix invalid price index qs check in book cart
Browse files Browse the repository at this point in the history
  • Loading branch information
williamchong committed Sep 17, 2024
1 parent 5898abf commit 1d5259c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/shopping-cart/book.vue
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ export default {
classIds = Array.isArray(classId) ? classId : [classId];
}
let priceIndexes = [];
if (collectionId) {
if (priceIndex) {
priceIndexes = Array.isArray(priceIndex) ? priceIndex : [priceIndex];
}
let collectionIds = [];
Expand Down

0 comments on commit 1d5259c

Please sign in to comment.