()
| 71 | : t("common.learn-more"); |
| 72 | |
| 73 | const handleConfirm = () => { |
| 74 | if (instanceMissingLicense) { |
| 75 | void router.push({ |
| 76 | name: INSTANCE_ROUTE_DASHBOARD, |
| 77 | query: { |
| 78 | assignLicense: "1", |
| 79 | instances: instance?.name, |
| 80 | }, |
| 81 | }); |
| 82 | } else { |
| 83 | void router.push(autoSubscriptionRoute()); |
| 84 | } |
| 85 | close(); |
| 86 | }; |
| 87 | |
| 88 | const requiredPlanLabel = t( |
| 89 | `subscription.plan.${planLabel[requiredPlan] ?? "enterprise"}.title` |
no test coverage detected