Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: revert 39818 (#39875)

hallidayoaf48b1c34d6e
diff --git a/apps/studio/components/grid/components/menu/RowContextMenu.tsx b/apps/studio/components/grid/components/menu/RowContextMenu.tsx
index c4dc8970467..c7abe47fa69 100644
--- a/apps/studio/components/grid/components/menu/RowContextMenu.tsx
+++ b/apps/studio/components/grid/components/menu/RowContextMenu.tsx
@@ -75,20 +75,17 @@ export const RowContextMenu = ({ rows }: RowContextMenuProps) => {
<Copy size={12} />
<span className="ml-2 text-xs">Copy row</span>
</Item>
- {snap.editable && (
- <>
- <DialogSectionSeparator className="my-1.5" />
- <Item onClick={onEditRowClick} data="edit">
- <Edit size={12} />
- <span className="ml-2 text-xs">Edit row</span>
- </Item>
- <DialogSectionSeparator className="my-1.5" />
- <Item onClick={onDeleteRow} data="delete">
- <Trash size={12} />
- <span className="ml-2 text-xs">Delete row</span>
- </Item>
- </>
- )}
+
+ <DialogSectionSeparator className="my-1.5" />
+ <Item onClick={onEditRowClick} data="edit">
+ <Edit size={12} />
+ <span className="ml-2 text-xs">Edit row</span>
+ </Item>
+ <DialogSectionSeparator className="my-1.5" />
+ <Item onClick={onDeleteRow} data="delete">
+ <Trash size={12} />
+ <span className="ml-2 text-xs">Delete row</span>
+ </Item>
</Menu>
)
}