From 25d66af45eb79d7305443183829e47d999b1d02f Mon Sep 17 00:00:00 2001 From: hsiegeln <37154749+hsiegeln@users.noreply.github.com> Date: Sun, 26 Apr 2026 22:13:41 +0200 Subject: [PATCH] fix(ui): hide redundant SSO button in empty state, fix dashboard navigation - Hide top-right "Add SSO Connection" when no connectors exist (empty state already has its own button) - Fix broken relative navigations on tenant dashboard: ../license and ../oidc resolved to wrong paths; now use absolute /tenant/license and /tenant/sso Co-Authored-By: Claude Opus 4.6 (1M context) --- ui/src/pages/tenant/SsoPage.tsx | 10 ++++++---- ui/src/pages/tenant/TenantDashboardPage.tsx | 4 ++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/ui/src/pages/tenant/SsoPage.tsx b/ui/src/pages/tenant/SsoPage.tsx index 9313cac..48b81fd 100644 --- a/ui/src/pages/tenant/SsoPage.tsx +++ b/ui/src/pages/tenant/SsoPage.tsx @@ -185,10 +185,12 @@ export function SsoPage() {

Enterprise SSO

- + {connectors && connectors.length > 0 && ( + + )}
{showCreate && ( diff --git a/ui/src/pages/tenant/TenantDashboardPage.tsx b/ui/src/pages/tenant/TenantDashboardPage.tsx index 5d51839..04b40bc 100644 --- a/ui/src/pages/tenant/TenantDashboardPage.tsx +++ b/ui/src/pages/tenant/TenantDashboardPage.tsx @@ -155,11 +155,11 @@ export function TenantDashboardPage() { Open Server Dashboard )} - -