Skip to content

Commit

Permalink
fix: should show chevron-up if expanded in BookmarksListItem
Browse files Browse the repository at this point in the history
  • Loading branch information
seanes committed Jan 30, 2025
1 parent 7f7fe89 commit fe15096
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/components/Bookmarks/EditableBookmark.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ export const EditableBookmark = ({
id={id}
title={expanded ? title || untitled : title}
params={params}
controls={<IconButton variant="outline" size="sm" icon="chevron-up" onClick={onToggle} />}
controls={
<IconButton variant="outline" size="sm" icon={expanded ? 'chevron-up' : 'chevron-down'} onClick={onToggle} />
}
>
<Section padding={4} spacing={4}>
<QueryLabel params={params} />
Expand Down

0 comments on commit fe15096

Please sign in to comment.