diff --git a/frontend/src/webapp/PaymentDialogs.svelte b/frontend/src/webapp/PaymentDialogs.svelte index 526b76a..60e80dd 100644 --- a/frontend/src/webapp/PaymentDialogs.svelte +++ b/frontend/src/webapp/PaymentDialogs.svelte @@ -158,19 +158,17 @@ {:else} {t("wa_no_tariff_change_options")} {/if} - {:else} - {#if tariffMode} - {#if !singleTariffMode && !(subscription?.active && subscription?.tariff_key && tariffCatalog.some((t) => t.key === subscription.tariff_key))} - - {/if} - {#if hasMultipleTariffs && selectedTariff} -

- {t("wa_selected_tariff", { tariff: selectedTariff.title })} -

- {/if} + {:else if tariffMode} + {#if !singleTariffMode && !(subscription?.active && subscription?.tariff_key && tariffCatalog.some((t) => t.key === subscription.tariff_key))} + + {/if} + {#if hasMultipleTariffs && selectedTariff} +

+ {t("wa_selected_tariff", { tariff: selectedTariff.title })} +

{/if} {#if selectedTariffPlans.length}
@@ -215,8 +213,13 @@ {:else} {t("wa_no_tariff_change_options")} {/if} - {/if} - {#if !tariffMode} + {:else} +
{#each plans as plan}