From 76031de8eb40ac40ba3febb578eaa93cfa267bac Mon Sep 17 00:00:00 2001 From: Marcel Date: Fri, 20 Mar 2026 16:49:17 +0100 Subject: [PATCH] fix(conversations): restore {#if} guard on swap button The guard was lost when the button was moved into the grid between the two person inputs. Without it the button rendered even when no persons were selected, breaking the UX and the E2E assertion. Co-Authored-By: Claude Sonnet 4.6 --- .../src/routes/conversations/+page.svelte | 46 ++++++++++--------- 1 file changed, 24 insertions(+), 22 deletions(-) diff --git a/frontend/src/routes/conversations/+page.svelte b/frontend/src/routes/conversations/+page.svelte index 58fd946f..9cb882f0 100644 --- a/frontend/src/routes/conversations/+page.svelte +++ b/frontend/src/routes/conversations/+page.svelte @@ -92,29 +92,31 @@ const enrichedDocuments = $derived( -
- -
+ + + + {m.conv_swap_btn()} + + + {/if}