From af9bfb7b22976f6cad01a4339521ea544ade35a1 Mon Sep 17 00:00:00 2001 From: "alexei.dolgolyov" Date: Thu, 19 Mar 2026 17:49:57 +0300 Subject: [PATCH] Hide chat selector until bot is selected Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/src/routes/targets/+page.svelte | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/src/routes/targets/+page.svelte b/frontend/src/routes/targets/+page.svelte index 93623f0..f9a02b9 100644 --- a/frontend/src/routes/targets/+page.svelte +++ b/frontend/src/routes/targets/+page.svelte @@ -134,10 +134,11 @@ {/if} - + + {#if form.bot_id}
- {#if form.bot_id && (botChats[form.bot_id] || []).length > 0} + {#if (botChats[form.bot_id] || []).length > 0} - {#if form.bot_id} -

{t('telegramBot.noChats')}

- {/if} +

{t('telegramBot.noChats')}

{/if}
+ {/if}