From 09ba53d185413eba3d4eca584cebf072b8fe5aef Mon Sep 17 00:00:00 2001
From: 3252a8 <3252a8@proton.me>
Date: Sun, 17 May 2026 17:26:42 +0300
Subject: [PATCH] fix: stop rendering duplicate period grid and pay button in
legacy mode
---
frontend/src/webapp/PaymentDialogs.svelte | 33 ++++++++++++-----------
1 file changed, 18 insertions(+), 15 deletions(-)
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_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}