Skip to content

Commit

Permalink
Merge pull request #1727 from slntopp/dev-fixes
Browse files Browse the repository at this point in the history
fix create keyweb
  • Loading branch information
SazukinPavel authored May 10, 2024
2 parents dec3e08 + 1c685b8 commit 8d8cd2a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion admin-ui/src/components/modules/keyweb/instanceCreate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
label="Price model"
item-text="title"
item-value="uuid"
return-object
:value="instance.billing_plan"
@change="setValue('billing_plan', $event)"
:items="plans"
Expand Down Expand Up @@ -148,7 +149,9 @@ const rules = ref({
});
const billingPlan = computed(() =>
plans.value.find((p) => p.uuid === instance.value.billing_plan)
instance.value.billing_plan.uuid
? instance.value.billing_plan
: plans.value.find((p) => p.uuid === instance.value.billing_plan)
);
const fullProduct = computed(() => billingPlan.value?.products[product.value]);
Expand Down

0 comments on commit 8d8cd2a

Please sign in to comment.