1
0
Fork 0
Dieser Commit ist enthalten in:
merefield 2023-09-08 10:54:41 +01:00
Ursprung 27cde861b6
Commit c2ffa7699b
3 geänderte Dateien mit 5 neuen und 4 gelöschten Zeilen

Datei anzeigen

@ -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}`;
}
}

Datei anzeigen

@ -19,7 +19,6 @@
<div class="admin-actions">
{{wizard-subscription-authorize}}
{{wizard-subscription-badge}}
{{wizard-subscription-cta}}
</div>
{{/admin-nav}}

Datei anzeigen

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