File tree Expand file tree Collapse file tree 1 file changed +11
-14
lines changed
Expand file tree Collapse file tree 1 file changed +11
-14
lines changed Original file line number Diff line number Diff line change @@ -75,20 +75,17 @@ export const RowContextMenu = ({ rows }: RowContextMenuProps) => {
7575 < Copy size = { 12 } />
7676 < span className = "ml-2 text-xs" > Copy row</ span >
7777 </ Item >
78- { snap . editable && (
79- < >
80- < DialogSectionSeparator className = "my-1.5" />
81- < Item onClick = { onEditRowClick } data = "edit" >
82- < Edit size = { 12 } />
83- < span className = "ml-2 text-xs" > Edit row</ span >
84- </ Item >
85- < DialogSectionSeparator className = "my-1.5" />
86- < Item onClick = { onDeleteRow } data = "delete" >
87- < Trash size = { 12 } />
88- < span className = "ml-2 text-xs" > Delete row</ span >
89- </ Item >
90- </ >
91- ) }
78+
79+ < DialogSectionSeparator className = "my-1.5" />
80+ < Item onClick = { onEditRowClick } data = "edit" >
81+ < Edit size = { 12 } />
82+ < span className = "ml-2 text-xs" > Edit row</ span >
83+ </ Item >
84+ < DialogSectionSeparator className = "my-1.5" />
85+ < Item onClick = { onDeleteRow } data = "delete" >
86+ < Trash size = { 12 } />
87+ < span className = "ml-2 text-xs" > Delete row</ span >
88+ </ Item >
9289 </ Menu >
9390 )
9491}
You can’t perform that action at this time.
0 commit comments