File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -1558,7 +1558,7 @@ class="mt-2"
15581558 <v-row dense>
15591559 <v-col cols="12" md="6">
15601560 <v-select
1561- @update:model-value="loadHostingPlan()"
1561+ @update:model-value="loadHostingPlan($event )"
15621562 v-model="dialog_modify_plan.selected_plan"
15631563 label="Plan Name"
15641564 :items="(dialog_modify_plan.hosting_plans || []).map( plan => plan.name )"
@@ -14678,7 +14678,7 @@ class="mt-5"
1467814678 removeCharge( remove_item ) {
1467914679 this.dialog_modify_plan.plan.charges = this.dialog_modify_plan.plan.charges.filter( (item, index) => index != remove_item );
1468014680 },
14681- loadHostingPlan() {
14681+ loadHostingPlan( selected_plan ) {
1468214682 current_auto_pay = this.dialog_modify_plan.plan.auto_pay
1468314683 current_auto_switch = this.dialog_modify_plan.plan.auto_switch
1468414684 billing_user_id = this.dialog_modify_plan.plan.billing_user_id
@@ -14693,7 +14693,10 @@ class="mt-5"
1469314693 if ( typeof this.dialog_modify_plan.plan.credits != 'undefined' ) {
1469414694 current_credits = JSON.parse(JSON.stringify( this.dialog_modify_plan.plan.credits ) )
1469514695 }
14696- selected_plan = this.dialog_modify_plan.selected_plan
14696+ if ( !selected_plan ) {
14697+ selected_plan = this.dialog_modify_plan.selected_plan
14698+ }
14699+
1469714700 hosting_plan = this.dialog_modify_plan.hosting_plans.filter( plan => plan.name == selected_plan )[0]
1469814701 if ( typeof hosting_plan == "undefined" ) {
1469914702 return
You can’t perform that action at this time.
0 commit comments