diff --git a/assets/javascripts/discourse/components/payment-options.js.es6 b/assets/javascripts/discourse/components/payment-options.js.es6 index d5eec95..bae36d2 100644 --- a/assets/javascripts/discourse/components/payment-options.js.es6 +++ b/assets/javascripts/discourse/components/payment-options.js.es6 @@ -1,7 +1,7 @@ import Component from "@ember/component"; export default Component.extend({ - init() { + didInsertElement() { this._super(...arguments); if (this.plans && this.plans.length === 1) { this.set("selectedPlan", this.plans[0].id);