From ea0c0ab1a36b4d4449ba252dea787dfa3062eb2f Mon Sep 17 00:00:00 2001 From: Myasnikov Daniil Date: Tue, 23 Jun 2026 12:22:40 +0500 Subject: [PATCH] fix(dashboard): guard clipboard copy in non-secure contexts Address review feedback from gemini-code-assist on SecretsTab.tsx: guard the copy button on navigator.clipboard so it is disabled and a no-op when the API is unavailable (plain-HTTP contexts), instead of throwing a TypeError. Co-Authored-By: Claude Opus 4.8 (1M context) Signed-off-by: Myasnikov Daniil --- .../console/apps/console/src/routes/detail/SecretsTab.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/system/dashboard/images/console/apps/console/src/routes/detail/SecretsTab.tsx b/packages/system/dashboard/images/console/apps/console/src/routes/detail/SecretsTab.tsx index f28a9bb73..7febc3aee 100644 --- a/packages/system/dashboard/images/console/apps/console/src/routes/detail/SecretsTab.tsx +++ b/packages/system/dashboard/images/console/apps/console/src/routes/detail/SecretsTab.tsx @@ -96,8 +96,8 @@ function SecretRow({