feat: add annotation for action buttons and double click for user list page

This commit is contained in:
2026-05-19 13:47:36 +03:00
parent a997cdb198
commit fbf6b0dc9d
13 changed files with 39 additions and 17 deletions

View File

@@ -105,10 +105,11 @@ export const SightListPage = observer(() => {
sortable: false,
renderCell: (params: GridRenderCellParams) => (
<div className="flex h-full gap-7 justify-center items-center">
<button onClick={() => navigate(`/sight/${params.row.id}/edit`)}>
<button title="Редактировать" onClick={() => navigate(`/sight/${params.row.id}/edit`)}>
<Pencil size={20} className="text-blue-500" />
</button>
<button
title="Удалить"
onClick={() => {
setIsDeleteModalOpen(true);
setRowId(params.row.id);