Skip to content

Commit baa462e

Browse files
chore: wip
1 parent 43fa8e2 commit baa462e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

resources/stores/payment.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,9 @@ export const usePaymentStore = defineStore('payment', {
240240
getCurrentPlan(state): Stripe.Subscription {
241241
return state.activeSubscription
242242
},
243+
getTransactionHistory(state): Stripe.Invoice[] {
244+
return state.transactionHistory
245+
},
243246
hasPaymentMethods(state): boolean {
244247
return state.paymentMethods.length || !(!state.defaultPaymentMethod // Checks for null or undefined
245248
|| (typeof state.defaultPaymentMethod === 'object'

0 commit comments

Comments
 (0)