0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-09 20:02:54 +01:00
Dieser Commit ist enthalten in:
merefield 2023-09-24 07:43:42 +01:00
Ursprung b1fddc33a7
Commit eefbe0a1fc

Datei anzeigen

@ -28,6 +28,7 @@ export default class SubscriptionService extends Service {
retrieveSubscriptionStatus() { retrieveSubscriptionStatus() {
ajax("/admin/wizards").then(result => { ajax("/admin/wizards").then(result => {
console.log(result)
this.subscribed = result.subscribed; this.subscribed = result.subscribed;
this.subscriptionType = result.subscription_type; this.subscriptionType = result.subscription_type;
this.subscriptionAttributes = result.subscription_attributes; this.subscriptionAttributes = result.subscription_attributes;
@ -38,7 +39,6 @@ export default class SubscriptionService extends Service {
.catch(popupAjaxError); .catch(popupAjaxError);
}; };
get adminWizards() { get adminWizards() {
return getOwner(this).lookup("controller:admin-wizards"); return getOwner(this).lookup("controller:admin-wizards");
}; };