This is an automated email from the ASF dual-hosted git repository. lizhimins pushed a commit to branch rocketmq-studio in repository https://gitbox.apache.org/repos/asf/rocketmq-dashboard.git
commit 269e22896926949eb730f3f3cb7e04e886e031ee Author: 0 <[email protected]> AuthorDate: Mon Aug 10 14:27:14 2026 +0800 fix(ui): normalize ACL version to a string for filtering and coloring (#1259) --- web/src/pages/instance/acl.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web/src/pages/instance/acl.tsx b/web/src/pages/instance/acl.tsx index 374320c0..186ceba2 100644 --- a/web/src/pages/instance/acl.tsx +++ b/web/src/pages/instance/acl.tsx @@ -70,7 +70,9 @@ const normalizeRule = (rule: AclRule): AclRule => ({ actions: rule.actions ?? [], decision: rule.decision ?? '', scope: rule.scope ?? '', - aclVersion: rule.aclVersion ?? '2.0', + // Normalize to a string so version filters and tag coloring work whether the backend + // returns a number (2.0) or a string ("2.0"). + aclVersion: String(rule.aclVersion ?? '2.0'), createdAt: rule.createdAt ?? null, });
