Skip to content

Commit ea4058e

Browse files
cliffhallclaude
andcommitted
fix(ServerSettingsModal): invert ListToggle compact prop so icon matches state
ListToggle's `compact` prop represents the list's *current* compact state: true means "currently compact" and renders the expand icon to advertise the action (open up). The settings modal was passing `compact={allExpanded}` — exactly inverted. When all sections were open it showed the expand icon (suggesting "open more") and when collapsed it showed the collapse icon, opposite of every other ListToggle caller in the app. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 0392d41 commit ea4058e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

clients/web/src/components/groups/ServerSettingsModal/ServerSettingsModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export function ServerSettingsModal({
109109
<Stack gap="md">
110110
<Group justify="space-between" wrap="nowrap">
111111
<ListToggle
112-
compact={allExpanded}
112+
compact={!allExpanded}
113113
variant="subtle"
114114
onToggle={handleToggleAll}
115115
/>

0 commit comments

Comments
 (0)