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

@@ -55,11 +55,12 @@ export const ArticleListPage = observer(() => {
sortable: false,
renderCell: (params: GridRenderCellParams) => (
<div className="flex h-full gap-7 justify-center items-center">
<button onClick={() => navigate(`/article/${params.row.id}`)}>
<button title="Просмотр" onClick={() => navigate(`/article/${params.row.id}`)}>
<Eye size={20} className="text-green-500" />
</button>
{canWriteArticles && (
<button
title="Удалить"
onClick={() => {
setIsDeleteModalOpen(true);
setRowId(params.row.id);