Clear upgradingGroup state after group plan payment

This commit is contained in:
Hafiz
2026-01-15 12:04:08 -06:00
parent a6a18e56d8
commit 5e1770246d
+4
View File
@@ -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);
}
}