wip
Dieser Commit ist enthalten in:
Ursprung
27cde861b6
Commit
c2ffa7699b
3 geänderte Dateien mit 5 neuen und 4 gelöschten Zeilen
|
@ -6,19 +6,20 @@ import { action, set } from "@ember/object";
|
|||
import { inject as service } from "@ember/service";
|
||||
import Component from "@glimmer/component";
|
||||
import { tracked } from "@glimmer/tracking";
|
||||
import { ajax } from "discourse/lib/ajax";
|
||||
// import I18n from "I18n";
|
||||
|
||||
export default class WizardSubscriptionAuthorize extends Component {
|
||||
@service siteSettings;
|
||||
@tracked supplierId = 1;
|
||||
@tracked supplierId = null;
|
||||
|
||||
constructor() {
|
||||
super(...arguments);
|
||||
|
||||
/admin/plugins/subscription-client/suppliers
|
||||
}
|
||||
|
||||
@action
|
||||
authorize() {
|
||||
window.location.href = `${basePath}/authorize?supplier_id=${this.supplierId}`;
|
||||
window.location.href = `/admin/plugins/subscription-client/authorize?supplier_id=${this.supplierId}`;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
|
||||
<div class="admin-actions">
|
||||
{{wizard-subscription-authorize}}
|
||||
{{wizard-subscription-badge}}
|
||||
{{wizard-subscription-cta}}
|
||||
</div>
|
||||
{{/admin-nav}}
|
||||
|
|
|
@ -12,4 +12,5 @@
|
|||
title="admin.wizard.subscription.authorize"
|
||||
action=(action "authorize")}}
|
||||
{{/if}}
|
||||
{{wizard-subscription-badge}}
|
||||
</div>
|
Laden …
In neuem Issue referenzieren