Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 09:20:29 +01:00
clean up
Dieser Commit ist enthalten in:
Ursprung
76288932c8
Commit
baf533a8f4
1 geänderte Dateien mit 0 neuen und 2 gelöschten Zeilen
|
@ -17,7 +17,6 @@ export default class WizardSubscriptionStatus 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;
|
||||||
})
|
})
|
||||||
|
@ -39,7 +38,6 @@ export default class WizardSubscriptionStatus extends Component {
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
.then((result) => {
|
.then((result) => {
|
||||||
console.log(result);
|
|
||||||
this.supplierId = result.supplier.id;
|
this.supplierId = result.supplier.id;
|
||||||
this.authorized = !(result.supplier.authorized_at === null);
|
this.authorized = !(result.supplier.authorized_at === null);
|
||||||
})
|
})
|
||||||
|
|
Laden …
In neuem Issue referenzieren