From df2e0cdb9d56a9d5cb7f3d64ed6ff2a621d0cca2 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Mon, 26 Oct 2026 22:38:54 +0100 Subject: [PATCH] fix: show the protection-rule bypass toggle inline (#12034) * fix: show the protection-rule bypass toggle inline Co-Authored-By: Claude Opus 5.5 * fix: make the bypass toggle small and red Co-Authored-By: Claude Opus 5.5 --------- Co-authored-by: Claude Opus 5.5 --- .../lib/components/NoDirectDeployAlert.svelte | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/frontend/src/lib/components/NoDirectDeployAlert.svelte b/frontend/src/lib/components/NoDirectDeployAlert.svelte index 1e1256241e..eee9437e65 100644 --- a/frontend/src/lib/components/NoDirectDeployAlert.svelte +++ b/frontend/src/lib/components/NoDirectDeployAlert.svelte @@ -1,8 +1,8 @@ {#if ($roleCaps.code || $roleCaps.flows !== 'none' || $roleCaps.apps !== 'none') && activeDeployRulesets.length > 0} -
+
{/if} - {#if canBypass && !sessionReadOnly} - - {/if}
{/snippet} + + {#if canBypass && !sessionReadOnly} + + {/if}
{/if}