Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 09:20:29 +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 { 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);
|
||||||
};
|
};
|
|
@ -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}}
|
||||||
|
|
||||||
|
|
|
@ -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>
|
Laden …
In neuem Issue referenzieren