From 72b0fd692c395e6e89ae1feac333c7ec185d63ed Mon Sep 17 00:00:00 2001 From: Roger Gutierrez Date: Thu, 28 Sep 2023 12:45:32 -0500 Subject: [PATCH] feat: onetime removed from ui components --- src/components/Checkout/AutoDepositUpsell.vue | 1 - .../MonthlyGoodDropInPaymentWrapper.vue | 5 - .../Settings/SubscriptionsSettingsCards.vue | 24 +- .../Subscriptions/SubscriptionsOneTime.vue | 310 ------------------ ...ntreeCreateMonthlyGoodSubscription.graphql | 3 +- .../MonthlyGood/MonthlyGoodSetupPage.vue | 4 - .../MonthlyGood/MonthlyGoodThanksPage.vue | 1 - 7 files changed, 3 insertions(+), 345 deletions(-) delete mode 100644 src/components/Subscriptions/SubscriptionsOneTime.vue diff --git a/src/components/Checkout/AutoDepositUpsell.vue b/src/components/Checkout/AutoDepositUpsell.vue index 2badaba01d..d5c31feab0 100644 --- a/src/components/Checkout/AutoDepositUpsell.vue +++ b/src/components/Checkout/AutoDepositUpsell.vue @@ -121,7 +121,6 @@ const eligibilityCheckQuery = gql`query autoDepositEligibilityQuery { autoDeposit { id isSubscriber - isOnetime } subscriptions { values { diff --git a/src/components/MonthlyGood/MonthlyGoodDropInPaymentWrapper.vue b/src/components/MonthlyGood/MonthlyGoodDropInPaymentWrapper.vue index d3b71332dc..ce656043ea 100644 --- a/src/components/MonthlyGood/MonthlyGoodDropInPaymentWrapper.vue +++ b/src/components/MonthlyGood/MonthlyGoodDropInPaymentWrapper.vue @@ -67,10 +67,6 @@ export default { type: String, default: '' }, - isOneTime: { - type: Boolean, - default: false - }, currentNonce: { type: String, default: '' @@ -171,7 +167,6 @@ export default { donateAmount: numeral(this.donateAmount).format('0.00'), dayOfMonth: numeral(this.dayOfMonth).value(), category: this.category, - isOnetime: this.isOneTime, deviceData, } }).then(kivaBraintreeResponse => { diff --git a/src/components/Settings/SubscriptionsSettingsCards.vue b/src/components/Settings/SubscriptionsSettingsCards.vue index 9c6f34ef70..449916e07a 100644 --- a/src/components/Settings/SubscriptionsSettingsCards.vue +++ b/src/components/Settings/SubscriptionsSettingsCards.vue @@ -1,16 +1,7 @@