From 34b1e50c51e42da03f289c20b2e9abae417e81d6 Mon Sep 17 00:00:00 2001 From: master <> Date: Sat, 28 Mar 2026 20:40:58 +0200 Subject: [PATCH] Hide single-tab bar on Packs workspace view When no pack is selected, the tab bar showed only one "Workspace" tab which is pointless. Now tabs are conditionally rendered only when a pack is opened (6 tabs: Dashboard, Edit, Rules, YAML, Approvals, Simulate). Also removed urlParam="tab" to prevent double-navigation. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../policy-pack-shell.component.ts | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/Web/StellaOps.Web/src/app/features/policy-decisioning/policy-pack-shell.component.ts b/src/Web/StellaOps.Web/src/app/features/policy-decisioning/policy-pack-shell.component.ts index 7dd56c958..36dc9345b 100644 --- a/src/Web/StellaOps.Web/src/app/features/policy-decisioning/policy-pack-shell.component.ts +++ b/src/Web/StellaOps.Web/src/app/features/policy-decisioning/policy-pack-shell.component.ts @@ -54,15 +54,18 @@ const PACK_DETAIL_TABS: readonly StellaPageTab[] = [ - + @if (packId()) { + + + + } @else { - + } `, styles: [`