Skip to content

Commit af48b1c

Browse files
authored
fix: revert 39818 (supabase#39875)
revert 39818
1 parent 977b867 commit af48b1c

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

apps/studio/components/grid/components/menu/RowContextMenu.tsx

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)