Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-09 11:52:54 +01:00
evolve
Dieser Commit ist enthalten in:
Ursprung
bcd6f86fc8
Commit
b78914e4fd
3 geänderte Dateien mit 5 neuen und 4 gelöschten Zeilen
|
@ -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);
|
||||
};
|
|
@ -18,8 +18,7 @@
|
|||
}}
|
||||
|
||||
<div class="admin-actions">
|
||||
{{wizard-subscription-authorize}}
|
||||
{{wizard-subscription-cta}}
|
||||
<WizardSubscriptionStatus />
|
||||
</div>
|
||||
{{/admin-nav}}
|
||||
|
||||
|
|
|
@ -12,5 +12,6 @@
|
|||
title="admin.wizard.subscription.authorize"
|
||||
action=(action "authorize")}}
|
||||
{{/if}}
|
||||
{{wizard-subscription-badge}}
|
||||
<WizardSubscriptionBadge />
|
||||
<WizardSubscriptionCta />
|
||||
</div>
|
Laden …
In neuem Issue referenzieren