We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63432da commit 4767b32Copy full SHA for 4767b32
packages/sanity/src/structure/comments/src/components/list/CommentsListItemContextMenu.tsx
@@ -98,7 +98,7 @@ export function CommentsListItemContextMenu(props: CommentsListItemContextMenuPr
98
/>
99
)}
100
101
- {isParent && (
+ {isParent && onStatusChange && (
102
<Button
103
aria-label={
104
status === 'open'
@@ -110,7 +110,6 @@ export function CommentsListItemContextMenu(props: CommentsListItemContextMenuPr
110
icon={status === 'open' ? CheckmarkCircleIcon : UndoIcon}
111
mode="bleed"
112
onClick={onStatusChange}
113
- hidden={!onStatusChange}
114
tooltipProps={{
115
content:
116
0 commit comments