1
0
mirror of synced 2026-08-04 14:16:55 +00:00

FIX: Single subscription was not correctly selected

This commit is contained in:
Justin DiRose
2020-08-03 10:31:21 -05:00
parent a1a7ca98a3
commit 739296bc72
@@ -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);