1
0
Fork 0
Dieser Commit ist enthalten in:
merefield 2023-09-22 14:05:05 +01:00
Ursprung bcd6f86fc8
Commit b78914e4fd
3 geänderte Dateien mit 5 neuen und 4 gelöschten Zeilen

Datei anzeigen

@ -5,7 +5,7 @@ import { tracked } from "@glimmer/tracking";
import { ajax } from "discourse/lib/ajax"; import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error"; 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"; basePath = "/admin/plugins/subscription-client/suppliers";
@service siteSettings; @service siteSettings;
@ -44,6 +44,7 @@ export default class WizardSubscriptionAuthorize extends Component {
}) })
.finally(() => { .finally(() => {
this.unauthorizing = false; this.unauthorizing = false;
window.location.reload();
}) })
.catch(popupAjaxError); .catch(popupAjaxError);
}; };

Datei anzeigen

@ -18,8 +18,7 @@
}} }}
<div class="admin-actions"> <div class="admin-actions">
{{wizard-subscription-authorize}} <WizardSubscriptionStatus />
{{wizard-subscription-cta}}
</div> </div>
{{/admin-nav}} {{/admin-nav}}

Datei anzeigen

@ -12,5 +12,6 @@
title="admin.wizard.subscription.authorize" title="admin.wizard.subscription.authorize"
action=(action "authorize")}} action=(action "authorize")}}
{{/if}} {{/if}}
{{wizard-subscription-badge}} <WizardSubscriptionBadge />
<WizardSubscriptionCta />
</div> </div>