From 841b47736ba79f068a4c65758b04ae3430f4a0c7 Mon Sep 17 00:00:00 2001 From: Eva Marco Date: Fri, 3 Jul 2026 09:28:27 +0200 Subject: [PATCH] :bug: Fix token pill border color on invalid pills when not selected (#10535) Signed-off-by: Eva Marco --- .../ui/workspace/tokens/management/token_pill.cljs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/frontend/src/app/main/ui/workspace/tokens/management/token_pill.cljs b/frontend/src/app/main/ui/workspace/tokens/management/token_pill.cljs index c4f636db79..e61c2fcbf3 100644 --- a/frontend/src/app/main/ui/workspace/tokens/management/token_pill.cljs +++ b/frontend/src/app/main/ui/workspace/tokens/management/token_pill.cljs @@ -288,16 +288,17 @@ :token-pill-no-icon (and (not status-icon?) (not errors?)) :token-pill-default can-edit? :token-pill-disabled disabled? - :token-pill-applied (and can-edit? has-selected? (or half-applied? full-applied?)) + :token-pill-applied (and can-edit? applied?) :token-pill-invalid (and can-edit? errors?) - :token-pill-invalid-applied (and (or half-applied? full-applied?) errors? can-edit?) + :token-pill-invalid-applied (and applied? errors? can-edit?) + :token-pill-viewer is-viewer? - :token-pill-applied-viewer (and is-viewer? has-selected? - (or half-applied? full-applied?)) + :token-pill-applied-viewer (and is-viewer? + applied?) :token-pill-invalid-viewer (and is-viewer? errors?) :token-pill-invalid-applied-viewer (and is-viewer? - (and full-applied? errors?))) + applied?)) :id (str "token-pill-" (:id token)) :type "button" :on-focus on-hover