fix: cache cards
This commit is contained in:
parent
b4b890ec35
commit
2cafc7fb09
2 changed files with 2 additions and 0 deletions
|
|
@ -83,6 +83,7 @@ const show = defineModel()
|
|||
const cards = createResource({
|
||||
url: 'frappe.integrations.frappe_providers.frappecloud_billing.api',
|
||||
params: { method: 'billing.get_payment_methods' },
|
||||
cache: 'cards',
|
||||
auto: true,
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -95,6 +95,7 @@ const showAddCardModal = ref(false)
|
|||
const cards = createResource({
|
||||
url: 'frappe.integrations.frappe_providers.frappecloud_billing.api',
|
||||
params: { method: 'billing.get_payment_methods' },
|
||||
cache: 'cards',
|
||||
auto: true,
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue