From 5e1770246d67f42abc94cdc02ddf39ec204bd74e Mon Sep 17 00:00:00 2001 From: Hafiz Date: Thu, 15 Jan 2026 12:04:08 -0600 Subject: [PATCH] Clear upgradingGroup state after group plan payment --- website/client/src/pages/user-main.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/website/client/src/pages/user-main.vue b/website/client/src/pages/user-main.vue index 36b13dac14..f089aa7014 100644 --- a/website/client/src/pages/user-main.vue +++ b/website/client/src/pages/user-main.vue @@ -316,6 +316,10 @@ export default { appState = JSON.parse(appState); if (appState.paymentCompleted) { removeLocalSetting(CONSTANTS.savedAppStateValues.SAVED_APP_STATE); + if (appState.paymentType === 'groupPlan') { + this.$store.state.upgradingGroup = {}; + this.$store.dispatch('guilds:getGroupPlans', true); + } this.$root.$emit('habitica:payment-success', appState); } }