diff --git a/frontend/src/pages/Billing.vue b/frontend/src/pages/Billing.vue index a6e66f43..81ed9a5e 100644 --- a/frontend/src/pages/Billing.vue +++ b/frontend/src/pages/Billing.vue @@ -229,7 +229,7 @@ import { toast, call, } from 'frappe-ui' -import { reactive, inject, onMounted, computed, ref } from 'vue' +import { reactive, inject, onMounted, computed, ref, watch } from 'vue' import { sessionStore } from '../stores/session' import Link from '@/components/Controls/Link.vue' import NotPermitted from '@/components/NotPermitted.vue' @@ -446,6 +446,12 @@ const redirectTo = computed(() => { } }) +watch(billingDetails, () => { + if (billingDetails.member_consent) { + showConsentWarning.value = false + } +}) + usePageMeta(() => { return { title: __('Billing Details'),