Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 01:10:28 +01:00
debug
Dieser Commit ist enthalten in:
Ursprung
07bed7ec86
Commit
28f17045c5
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
|
@ -17,6 +17,7 @@ export default class WizardSubscriptionAuthorize extends Component {
|
||||||
constructor() {
|
constructor() {
|
||||||
super(...arguments);
|
super(...arguments);
|
||||||
ajax("/admin/plugins/subscription-client/suppliers").then((result) => {
|
ajax("/admin/plugins/subscription-client/suppliers").then((result) => {
|
||||||
|
console.log(result)
|
||||||
this.supplierId = result.suppliers[0].id;
|
this.supplierId = result.suppliers[0].id;
|
||||||
this.authorized = result.suppliers[0].authorized;
|
this.authorized = result.suppliers[0].authorized;
|
||||||
})
|
})
|
||||||
|
@ -25,7 +26,6 @@ export default class WizardSubscriptionAuthorize extends Component {
|
||||||
@action
|
@action
|
||||||
authorize() {
|
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=/admin/wizards/wizard`;
|
||||||
//window.location.href = `${this.basePath}/authorize?supplier_id=${this.supplierId}&final_landing_path%3D%2Fadmin%2Fwizards%2Fwizard`;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@action
|
@action
|
||||||
|
|
Laden …
In neuem Issue referenzieren