add tag to table
This commit is contained in:
1 parent
896d1b784b
commit
dc80b3cafc
1 file changed
+3
-3
@@ -1,7 +1,7 @@
|
|||||||
import { ActionsMenu, type ActionMenuItem } from "@/Components/actions-menu";
|
import { ActionsMenu, type ActionMenuItem } from "@/Components/actions-menu";
|
||||||
import Typography from "@mui/material/Typography";
|
import Typography from "@mui/material/Typography";
|
||||||
import type { Header } from "@/Components/design-elements/Table";
|
import type { Header } from "@/Components/design-elements/Table";
|
||||||
import { Table, Chip } from "@/Components/design-elements";
|
import { Table, Chip, ColoredLabel } from "@/Components/design-elements";
|
||||||
import { Pagination } from "@/Components/design-elements/Table";
|
import { Pagination } from "@/Components/design-elements/Table";
|
||||||
import { useClientPagination } from "@/Hooks/useClientPagination";
|
import { useClientPagination } from "@/Hooks/useClientPagination";
|
||||||
|
|
||||||
@@ -66,10 +66,10 @@ export const TagsTable = ({ tags, setSelectedTag }: TagsTableProps) => {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "chip",
|
id: "chip",
|
||||||
content: t("pages.tags.table.headers.chip"),
|
content: t("pages.tags.table.headers.appearance"),
|
||||||
render: (row) => {
|
render: (row) => {
|
||||||
return (
|
return (
|
||||||
<Chip
|
<ColoredLabel
|
||||||
text={row.name}
|
text={row.name}
|
||||||
color={row.color}
|
color={row.color}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in new issue
Block a user