From 2d16fabfb150301fd140125d40e277c5ccd1a6d1 Mon Sep 17 00:00:00 2001 From: Roman Khafizianov Date: Sat, 15 Aug 2026 14:21:53 +0200 Subject: [PATCH] fix(widget): correct visibility icon polarity in section menu (JS-9858) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The widget section menu rendered the eye icon inverted relative to the rest of the app: a hidden section showed the slashed eye and a visible one the open eye. Everywhere else the icon depicts the action the click performs — eye0 (open) = "show", eye1 (slashed) = "hide" — as pinned by the labelled call sites (menu/dataview/group/edit.tsx, menu/dataview/ relation/edit.tsx) and by the tooltip in sidebar/page/widgetManage.tsx. Row state is still conveyed by the .isHidden dimming class. --- src/ts/component/menu/widget/section.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ts/component/menu/widget/section.tsx b/src/ts/component/menu/widget/section.tsx index 55c8638f3b..8e6d569ad2 100644 --- a/src/ts/component/menu/widget/section.tsx +++ b/src/ts/component/menu/widget/section.tsx @@ -166,7 +166,7 @@ const MenuWidgetSection = forwardRef((props, ref) => {
{item.name}
onSwitch(item)} />