1
0
Fork 0
Dieser Commit ist enthalten in:
merefield 2023-09-22 11:22:27 +01:00
Ursprung 07bed7ec86
Commit 28f17045c5

Datei anzeigen

@ -17,6 +17,7 @@ export default class WizardSubscriptionAuthorize extends Component {
constructor() {
super(...arguments);
ajax("/admin/plugins/subscription-client/suppliers").then((result) => {
console.log(result)
this.supplierId = result.suppliers[0].id;
this.authorized = result.suppliers[0].authorized;
})
@ -25,7 +26,6 @@ export default class WizardSubscriptionAuthorize extends Component {
@action
authorize() {
window.location.href = `${this.basePath}/authorize?supplier_id=${this.supplierId}&final_landing_path=/admin/wizards/wizard`;
//window.location.href = `${this.basePath}/authorize?supplier_id=${this.supplierId}&final_landing_path%3D%2Fadmin%2Fwizards%2Fwizard`;
}
@action