diff --git a/assets/javascripts/discourse/components/wizard-subscription-authorize.js b/assets/javascripts/discourse/components/wizard-subscription-status.js similarity index 93% rename from assets/javascripts/discourse/components/wizard-subscription-authorize.js rename to assets/javascripts/discourse/components/wizard-subscription-status.js index 577739d5..856319d0 100644 --- a/assets/javascripts/discourse/components/wizard-subscription-authorize.js +++ b/assets/javascripts/discourse/components/wizard-subscription-status.js @@ -5,7 +5,7 @@ import { tracked } from "@glimmer/tracking"; import { ajax } from "discourse/lib/ajax"; import { popupAjaxError } from "discourse/lib/ajax-error"; -export default class WizardSubscriptionAuthorize extends Component { +export default class WizardSubscriptionStatus extends Component { basePath = "/admin/plugins/subscription-client/suppliers"; @service siteSettings; @@ -44,6 +44,7 @@ export default class WizardSubscriptionAuthorize extends Component { }) .finally(() => { this.unauthorizing = false; + window.location.reload(); }) .catch(popupAjaxError); }; diff --git a/assets/javascripts/discourse/templates/admin-wizards.hbs b/assets/javascripts/discourse/templates/admin-wizards.hbs index ef57db7d..d650986d 100644 --- a/assets/javascripts/discourse/templates/admin-wizards.hbs +++ b/assets/javascripts/discourse/templates/admin-wizards.hbs @@ -18,8 +18,7 @@ }}